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