[Yanel-dev] What is correct expire date format

Evaldas Taroza etaroza at optaros.com
Fri Dec 7 13:41:13 CET 2007


Well I looked it up again, seems that I misunderstood the 'latient' 
property.

So I am fixing that the valid date format would be similar to xsd:date 
(yyyy-MM-dd) and xsd:dateTime (yyyy-MM-dd'T'HH:mm:ss), I mean similar 
because no timezone nor miliseconds are included.

Evaldas

Evaldas Taroza wrote:
> 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
>>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
> 


More information about the Yanel-development mailing list