com.ning.http.client.date
Class CalendarTimeConverter
java.lang.Object
com.ning.http.client.date.CalendarTimeConverter
- All Implemented Interfaces:
- TimeConverter
public class CalendarTimeConverter
- extends Object
- implements TimeConverter
Calendar based TimeConverter.
Note that a Joda-Time or DateTime based implementation would be more efficient, but AHC doesn't have a dependency to JodaTime.
- Author:
- slandelle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMT
public static final TimeZone GMT
CalendarTimeConverter
public CalendarTimeConverter()
toTime
public long toTime(RFC2616Date dateElements)
- Specified by:
toTime
in interface TimeConverter
Copyright © 2014. All Rights Reserved.