[Yanel-dev] What is correct expire date format

Evaldas Taroza etaroza at optaros.com
Fri Dec 7 08:56:19 CET 2007


Actually it can be any format that represents a date and can be parsed 
by DateFormatter in a 'lenient' way, because the code is like this:

SimpleDateFormat sdf = new SimpleDateFormat(CONFIG_DATE_FORMAT);
sdf.setLenient(true);
...
Date expire = sdf.parse(dateAsString);

Evaldas

Michael Wechner wrote:
> Hi
> 
> I have updated the security lib and expiration date should work now, but 
> for instance the sample user "lenya.iml" has not correct expire date 
> format.
> 
> What is the correct format?
> 
> Thanks
> 
> Michi
> 


More information about the Yanel-development mailing list