Re: Date: Can you have one that is just mm/dd or mm/yyyy etc?



OK, you're right I don't.

I studied the API doc for SimpleDateFormat before submitting my plea
for help. I guess my real question is, how do I know if a Date portion
such as day is not a valid value for my application, ie when Date =
01/05/2001, how do I know to ignore the month portion (or day, or year)
because it is only a placeholder? If I try to create a Date with
01/00/2001 or some such, I of course get an unparseableDate exception.

I apologize for boring you, I am not nearly as smart as most readers of
this forum, which is why I came to it for help when I couldn't find a
way in the API. Hopefully I will come away from here smarter after
partaking of the comp.lang.java.programmer fountain of knowlege.

.