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:
... + Date.getMonth() + "-" ...
I hope that helps
Mo DeJong
dejong at cs.umn.edu
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.
>
>