@Singleton public static class DateServiceDateCodecFactory.DateServiceIso8601Codec extends Object implements DateCodec
Modifier and Type | Field and Description |
---|---|
protected DateService |
dateService |
Constructor and Description |
---|
DateServiceDateCodecFactory.DateServiceIso8601Codec(DateService dateService) |
protected final DateService dateService
@Inject public DateServiceDateCodecFactory.DateServiceIso8601Codec(DateService dateService)
public Date toDate(String date) throws IllegalArgumentException
toDate
in interface DateCodec
IllegalArgumentException
- if the input is invalidCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.