File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes simple date format woes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "simple date format woes" Watch "simple date format woes" New topic
Author

simple date format woes

Adam Confino
Ranch Hand

Joined: Sep 03, 2009
Posts: 48
Hey guys,

I am trying to write a method that will cycle through a list of existing reservations and return all the reservations that begin on a specific date. The following code won't compile, but I don't know why.

Thanks in advance for all your help. I'll try to keep an eye on the post if you need any more info.



Just Another Guy Hooked on Java
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61071
    
  66

It helps to state what your problem is.

P.S. Check your pattern.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Adam Confino
Ranch Hand

Joined: Sep 03, 2009
Posts: 48
I apologize - could you clarify what you mean by pattern.

Thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61071
    
  66

The string you are passing to the formatting instance.
Adam Confino
Ranch Hand

Joined: Sep 03, 2009
Posts: 48
Thank you very much! I really appreciate your help!
 
wood burning stoves
 
subject: simple date format woes