public interface DateService
Modifier and Type | Method and Description |
---|---|
String |
cDateFormat() |
String |
cDateFormat(Date date) |
Date |
cDateParse(String toParse) |
String |
iso8601DateFormat() |
String |
iso8601DateFormat(Date date) |
Date |
iso8601DateParse(String toParse) |
String |
iso8601SecondsDateFormat() |
String |
iso8601SecondsDateFormat(Date dateTime) |
Date |
iso8601SecondsDateParse(String toParse) |
String |
rfc1123DateFormat() |
String |
rfc1123DateFormat(Date date) |
Date |
rfc1123DateParse(String toParse) |
String |
rfc822DateFormat() |
String |
rfc822DateFormat(Date date) |
Date |
rfc822DateParse(String toParse) |
String cDateFormat()
Date cDateParse(String toParse) throws IllegalArgumentException
toParse
- text to parseIllegalArgumentException
- if the input is invalidString rfc822DateFormat()
Date rfc822DateParse(String toParse) throws IllegalArgumentException
toParse
- text to parseIllegalArgumentException
- if the input is invalidString iso8601SecondsDateFormat()
String iso8601DateFormat()
Date iso8601DateParse(String toParse) throws IllegalArgumentException
toParse
- text to parseIllegalArgumentException
- if the input is invalidDate iso8601SecondsDateParse(String toParse) throws IllegalArgumentException
toParse
- text to parseIllegalArgumentException
- if the input is invalidString rfc1123DateFormat()
Date rfc1123DateParse(String toParse) throws IllegalArgumentException
toParse
- text to parseIllegalArgumentException
- if the input is invalidCopyright © 2009-2013 jclouds. All Rights Reserved.