Re: Can't find getMonth Method

1999-01-14 Thread stoerk
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

Re: Can't find getMonth Method

1999-01-14 Thread Hariharan Narayanan
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.

Re: Can't find getMonth Method

1999-01-14 Thread Martin Sorgatz
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()+"-" >

Re: Can't find getMonth Method

1999-01-14 Thread Moses DeJong
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

Can't find getMonth Method

1999-01-14 Thread Lee Sang Hoon
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