org.jclouds.date.joda
Class JodaDateService

java.lang.Object
  extended by org.jclouds.date.joda.JodaDateService
All Implemented Interfaces:
org.jclouds.date.DateService

@Singleton
public class JodaDateService
extends Object
implements org.jclouds.date.DateService


Constructor Summary
JodaDateService()
           
 
Method Summary
 String cDateFormat()
           
 String cDateFormat(Date dateTime)
           
 Date cDateParse(String toParse)
           
 Date fromSeconds(long seconds)
           
 String iso8601DateFormat()
           
 String iso8601DateFormat(Date date)
           
 Date iso8601DateOrSecondsDateParse(String toParse)
           
 Date iso8601DateParse(String toParse)
           
 String iso8601SecondsDateFormat()
           
 String iso8601SecondsDateFormat(Date dateTime)
           
 Date iso8601SecondsDateParse(String toParse)
           
 String rfc1123DateFormat()
           
 String rfc1123DateFormat(Date dateTime)
           
 Date rfc1123DateParse(String toParse)
           
 String rfc822DateFormat()
           
 String rfc822DateFormat(Date dateTime)
           
 Date rfc822DateParse(String toParse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JodaDateService

public JodaDateService()
Method Detail

fromSeconds

public final Date fromSeconds(long seconds)

cDateFormat

public final String cDateFormat(Date dateTime)
Specified by:
cDateFormat in interface org.jclouds.date.DateService

cDateFormat

public final String cDateFormat()
Specified by:
cDateFormat in interface org.jclouds.date.DateService

cDateParse

public final Date cDateParse(String toParse)
Specified by:
cDateParse in interface org.jclouds.date.DateService

rfc822DateFormat

public final String rfc822DateFormat(Date dateTime)
Specified by:
rfc822DateFormat in interface org.jclouds.date.DateService

rfc822DateFormat

public final String rfc822DateFormat()
Specified by:
rfc822DateFormat in interface org.jclouds.date.DateService

rfc822DateParse

public final Date rfc822DateParse(String toParse)
Specified by:
rfc822DateParse in interface org.jclouds.date.DateService

iso8601SecondsDateFormat

public final String iso8601SecondsDateFormat(Date dateTime)
Specified by:
iso8601SecondsDateFormat in interface org.jclouds.date.DateService

iso8601SecondsDateFormat

public final String iso8601SecondsDateFormat()
Specified by:
iso8601SecondsDateFormat in interface org.jclouds.date.DateService

iso8601DateFormat

public final String iso8601DateFormat(Date date)
Specified by:
iso8601DateFormat in interface org.jclouds.date.DateService

iso8601DateFormat

public final String iso8601DateFormat()
Specified by:
iso8601DateFormat in interface org.jclouds.date.DateService

iso8601DateParse

public final Date iso8601DateParse(String toParse)
Specified by:
iso8601DateParse in interface org.jclouds.date.DateService

iso8601SecondsDateParse

public final Date iso8601SecondsDateParse(String toParse)
Specified by:
iso8601SecondsDateParse in interface org.jclouds.date.DateService

iso8601DateOrSecondsDateParse

public Date iso8601DateOrSecondsDateParse(String toParse)
                                   throws IllegalArgumentException
Specified by:
iso8601DateOrSecondsDateParse in interface org.jclouds.date.DateService
Throws:
IllegalArgumentException

rfc1123DateFormat

public final String rfc1123DateFormat(Date dateTime)
Specified by:
rfc1123DateFormat in interface org.jclouds.date.DateService

rfc1123DateFormat

public final String rfc1123DateFormat()
Specified by:
rfc1123DateFormat in interface org.jclouds.date.DateService

rfc1123DateParse

public final Date rfc1123DateParse(String toParse)
Specified by:
rfc1123DateParse in interface org.jclouds.date.DateService


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.