@Singleton public class HyphenToNullIso8601Codec extends DateServiceDateCodecFactory.DateServiceIso8601Codec
dateService| Constructor and Description |
|---|
HyphenToNullIso8601Codec(DateService dateService) |
| Modifier and Type | Method and Description |
|---|---|
Date |
toDate(String date) |
String |
toString() |
toString@Inject public HyphenToNullIso8601Codec(DateService dateService)
public Date toDate(String date) throws IllegalArgumentException
toDate in interface DateCodectoDate in class DateServiceDateCodecFactory.DateServiceIso8601CodecIllegalArgumentException - if the input is invalidpublic String toString()
toString in class DateServiceDateCodecFactory.DateServiceIso8601CodecCopyright © 2009–2021 The Apache Software Foundation. All rights reserved.