• Post Reply Bookmark Topic Watch Topic
  • New Topic

The method parse(String) from the type DateFormat is not static  RSS feed

 
Christopher Alain Jones
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, i just want to check a textfield for a valid date with.


but get this
The method parse(String) from the type DateFormat is not static
 
Pat Hays
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See Java API:

DateFormat df = DateFormat.getDateInstance();
myDate = df.parse(myString);
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!