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 s
getMonth() is deprecated. As of JDK version 1.1.x, it has been replaced
by Calendar.get(Calendar.MONTH) .
Lee Sang Hoon wrote:
> Hi ! everyon...
>
> I'm coding bulletin.
>
> but ERROR concured below !
>
>
> WriteCybbs.java:66: Class java.util.Date.
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()+"-"
>
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 h
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 depre