On Thu, 14 Jan 1999, Moses DeJong wrote:
> I think your code is wrong. It is attempting to allocate an object
> of type java.util.Date.$getMonth which does not exist (javac thinks
> getMonth is an inner class of the Date class). I do not know what
> the "new" is doing there but I think you code should read:
I think, you wanted to do this:
+ (new Date()).getMonth() + "-"
Create a new Date-Object and call its getMonth Method.
> On Thu, 14 Jan 1999, Lee Sang Hoon wrote:
>
> >
> > Hi ! everyon.......
> >
> > I'm coding bulletin.
> >
> > but ERROR concured below !
> >
> > ----------------------------------------
> > WriteCybbs.java:66: Class java.util.Date. getMonth not found in type
> > declaration.
> > +new Date.getMonth()+"-"
> > ^
> > Note: WriteCybbs.java uses a deprecated API. Recompile with
> > "-deprecation" for details.
> >
> > ------------------------------------------------------------------
> >
> > I'm using java version 1.1.7 via ....
> >
> > evidently, Date class contain getMonth() method in API .
> >
> >
> > I hope helps
> >
> > http://cyclo.ml.org by jisu.
> >
> >
>
>
J"orn St"ork
E-Post: [EMAIL PROTECTED]
I've finally learned what "upward compatible" means. It means we get to
keep all our old mistakes.
-- Dennie van Tassel