date

From: bonux (Dhanesh81_at_intnet.mu)
Date: 07/21/04


Date: Wed, 21 Jul 2004 20:19:20 +0400

I have a problem with the date class, After having compile all my class , I
need to create a new object , That is a new instance of the customer class ,
with the customer data I've been provided, I use Blue J to do my works,
To create a new customer , I right click etc , and select the tab create new
customer,
the fields are provided to me are as follows

first name -- " john" // String
last name " doe" // String

Date of birth -- // thats the problem , Suppose , I want to enter the date
17/03/81 , how do I enter it , coz when I use "17/03/81" . I get the
message , Incompatible types - Java.lang.String found but expected
java.util.date .

its the same thing is I use 17/03/81
I get the msg Incompatible types, int found but expected java.util.date

if I use '17/03/81' ,
I get unclosed character literals

Can anyone help me on this please, How should enter the date for the Program
to accept it.



Relevant Pages

  • writing program from a book
    ... I wrote that program from a book that my compile that program ... int option; ... printf("\n\n 2 Change existing customer record"); ...
    (comp.lang.c)
  • writing program from a book
    ... I wrote that program from a book that my compile that program ... int option; ... printf("\n\n 2 Change existing customer record"); ...
    (comp.unix.solaris)
  • writing program from a book
    ... I wrote that program from a book that my compile that program ... int option; ... printf("\n\n 2 Change existing customer record"); ...
    (comp.unix.programmer)
  • Re: Property does not exits
    ... I look in the folder and it ... I have a third party Native2Excel installed. ... program will compile and run and sometimes not. ... My customer keeps ...
    (alt.comp.lang.borland-delphi)
  • Re: Form updating
    ... changes per your comments but when I select Compile I get ... > Private Sub Form_AfterUpdate ... rather than allenbrowne at mvps dot org. ... >> event of the Customer ...
    (microsoft.public.access.forms)