|
Joda Time API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.joda.time.Chronology
|
+--org.joda.time.iso.ISOChronology
ISOChronology provides access to the individual date time fields for the ISO8601 defined chronological calendar system. When ISO does not define a field, but it can be determined (such as AM/PM) it is included.
| Method Summary | |
Chronology |
asUTC()
Returns an instance of this Chronology that operates in the UTC time zone. |
long |
getDateOnlyMillis(long millis)
Get the millis for a date only field. |
DateTimeZone |
getDateTimeZone()
Returns the DateTimeZone that this Chronology operates in, or null if unspecified. |
static Chronology |
getInstance()
Gets an instance of the ISOChronology. |
static Chronology |
getInstance(DateTimeZone zone)
Gets an instance of the ISOChronology. |
long |
getTimeOnlyMillis(long millis)
Get the millis for a time only field. |
| Methods inherited from class org.joda.time.Chronology |
amPmOfDay, dayOfMonth, dayOfWeek, dayOfYear, era, hourClockOfAmPm, hourClockOfDay, hourOfAmPm, hourOfDay, leapYear, millisOfDay, millisOfSecond, minuteOfDay, minuteOfHour, monthOfYear, secondOfDay, secondOfMinute, weekOfYearWeek, weekOfYearYear, year, yearOfEra |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Chronology getInstance()
public static Chronology getInstance(DateTimeZone zone)
zone - the time zone to get the chronology in
public DateTimeZone getDateTimeZone()
Chronology
getDateTimeZone in class Chronologypublic Chronology asUTC()
Chronology
asUTC in class Chronologypublic long getTimeOnlyMillis(long millis)
getTimeOnlyMillis in class Chronologymillis - the millis to convert to time only
public long getDateOnlyMillis(long millis)
getDateOnlyMillis in class Chronologymillis - the millis to convert to date only
|
Joda Time API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||