edu.umd.cfar.lamp.apploader.prefs
Class Iso8601Calendar

java.lang.Object
  extended byjava.util.Calendar
      extended byjava.util.GregorianCalendar
          extended byedu.umd.cfar.lamp.apploader.prefs.Iso8601Calendar
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Iso8601Calendar
extends java.util.GregorianCalendar

Class for dealing with the ISO-8601 date format commonly found in XML files. I downloaded most of this code from the net, where it had this attached information:

ISO 8601 date manipulation in Java 1.2. This was sent to me by Simon Brooke 2000-11-22T15:20:52Z for inclusion into my material on ISO 8601. I don't understand much of it, but I include it in the hope that some people might find it useful.
- Jukka K. Korpela, jkorpela@cs.tut.fi
I'm not sure, but I think that means it is in the public domain.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.GregorianCalendar
AD, BC
 
Fields inherited from class java.util.Calendar
AM, AM_PM, APRIL, areFieldsSet, AUGUST, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_WEEK_IN_MONTH, DAY_OF_YEAR, DECEMBER, DST_OFFSET, ERA, FEBRUARY, FIELD_COUNT, fields, FRIDAY, HOUR, HOUR_OF_DAY, isSet, isTimeSet, JANUARY, JULY, JUNE, MARCH, MAY, MILLISECOND, MINUTE, MONDAY, MONTH, NOVEMBER, OCTOBER, PM, SATURDAY, SECOND, SEPTEMBER, SUNDAY, THURSDAY, time, TUESDAY, UNDECIMBER, WEDNESDAY, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, ZONE_OFFSET
 
Constructor Summary
Iso8601Calendar()
           
 
Method Summary
 java.lang.String toString()
          Return an ISO8601 string representing the date/time represented by this Calendar
 
Methods inherited from class java.util.GregorianCalendar
add, computeFields, computeTime, equals, getActualMaximum, getActualMinimum, getGreatestMinimum, getGregorianChange, getLeastMaximum, getMaximum, getMinimum, hashCode, isLeapYear, roll, roll, setGregorianChange
 
Methods inherited from class java.util.Calendar
after, before, clear, clear, clone, complete, get, getAvailableLocales, getFirstDayOfWeek, getInstance, getInstance, getInstance, getInstance, getMinimalDaysInFirstWeek, getTime, getTimeInMillis, getTimeZone, internalGet, isLenient, isSet, set, set, set, set, setFirstDayOfWeek, setLenient, setMinimalDaysInFirstWeek, setTime, setTimeInMillis, setTimeZone
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Iso8601Calendar

public Iso8601Calendar()
Method Detail

toString

public java.lang.String toString()
Return an ISO8601 string representing the date/time represented by this Calendar

Returns:
an ISO8601 string representing the date/time