|
" 2013 FRC Java API " |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Calendar
com.sun.cldc.util.j2me.CalendarImpl
public class CalendarImpl
This class is an implementation of the subsetted CLDC 1.1 Calendar class.
Calendar,
TimeZone| Field Summary |
|---|
| Fields inherited from class java.util.Calendar |
|---|
AM, AM_PM, APRIL, AUGUST, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DECEMBER, FEBRUARY, fields, FRIDAY, HOUR, HOUR_OF_DAY, isSet, JANUARY, JULY, JUNE, MARCH, MAY, MILLISECOND, MINUTE, MONDAY, MONTH, NOVEMBER, OCTOBER, PM, SATURDAY, SECOND, SEPTEMBER, SUNDAY, THURSDAY, time, TUESDAY, WEDNESDAY, YEAR |
| Constructor Summary | |
|---|---|
CalendarImpl()
|
|
| Method Summary | |
|---|---|
protected void |
computeFields()
Converts UTC as milliseconds to time field values. |
protected void |
computeTime()
Converts time field values to UTC as milliseconds. |
static String |
toISO8601String(Calendar calendar)
Converts this Date object to a String. |
static String |
toString(Calendar calendar)
Converts this Date object to a String
of the form:
|
| Methods inherited from class java.util.Calendar |
|---|
after, before, equals, get, getInstance, getInstance, getTime, getTimeInMillis, getTimeZone, set, setTime, setTimeInMillis, setTimeZone |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalendarImpl()
| Method Detail |
|---|
protected void computeFields()
computeFields in class Calendarpublic static String toString(Calendar calendar)
Date object to a String
of the form:
where:dow mon dd hh:mm:ss zzz yyyy
public static String toISO8601String(Calendar calendar)
Date object to a String.
The output format is as follows:
where:yyyy MM dd hh mm ss +zzzz
protected void computeTime()
computeTime in class CalendarIllegalArgumentException - if any fields are invalid.
|
" 2013 FRC Java API " |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||