@Singleton public class JodaDateService extends Object implements DateService
Constructor and Description |
---|
JodaDateService() |
Modifier and Type | Method and Description |
---|---|
String |
cDateFormat() |
String |
cDateFormat(Date dateTime) |
Date |
cDateParse(String toParse) |
Date |
fromSeconds(long seconds) |
String |
iso8601DateFormat() |
String |
iso8601DateFormat(Date date) |
Date |
iso8601DateParse(String toParse) |
String |
iso8601SecondsDateFormat() |
String |
iso8601SecondsDateFormat(Date dateTime) |
Date |
iso8601SecondsDateParse(String toParse) |
String |
rfc822DateFormat() |
String |
rfc822DateFormat(Date dateTime) |
Date |
rfc822DateParse(String toParse) |
public final Date fromSeconds(long seconds)
fromSeconds
in interface DateService
public final String cDateFormat(Date dateTime)
cDateFormat
in interface DateService
public final String cDateFormat()
cDateFormat
in interface DateService
public final Date cDateParse(String toParse)
cDateParse
in interface DateService
public final String rfc822DateFormat(Date dateTime)
rfc822DateFormat
in interface DateService
public final String rfc822DateFormat()
rfc822DateFormat
in interface DateService
public final Date rfc822DateParse(String toParse)
rfc822DateParse
in interface DateService
public final String iso8601SecondsDateFormat(Date dateTime)
iso8601SecondsDateFormat
in interface DateService
public final String iso8601SecondsDateFormat()
iso8601SecondsDateFormat
in interface DateService
public final String iso8601DateFormat(Date date)
iso8601DateFormat
in interface DateService
public final String iso8601DateFormat()
iso8601DateFormat
in interface DateService
public final Date iso8601DateParse(String toParse)
iso8601DateParse
in interface DateService
public final Date iso8601SecondsDateParse(String toParse)
iso8601SecondsDateParse
in interface DateService
Copyright © 2009-2012 jclouds. All Rights Reserved.