All Packages Class Hierarchy This Package Previous Next Index
Class w3c.www.dsig.ISODate
java.lang.Object
|
+----w3c.www.dsig.ISODate
- public class ISODate
- extends Object
ISO Date
NOTE: This class uses methods from java.util.Data which are
deprecated in JDK 1.1.
WARNING: Time zone offset seems to be incorrect to me.
There seem to be more bugs in java.util.Date, probably this class
should be rewritten for JDK 1.1 Calendars.
-
ISODate()
- constructs an ISODate initialized with current time.
-
ISODate(Date)
- Constructs an ISODate from java.util.Date
-
ISODate(String)
- Parses a String representation of an ISODate.
-
dateToISODateString(Date)
- Returns a String representation of the ISODate for a give Date object
-
getDate()
- Returns an equivalent java.util.Date object
-
main(String[])
-
-
toString()
- Returns a String representation of the ISODate.
-
transformISODateToDate(String)
-
ISODate
public ISODate()
- constructs an ISODate initialized with current time.
ISODate
public ISODate(String s)
- Parses a String representation of an ISODate.
ISODate
public ISODate(Date date)
- Constructs an ISODate from java.util.Date
getDate
public Date getDate()
- Returns an equivalent java.util.Date object
toString
public String toString()
- Returns a String representation of the ISODate.
- Overrides:
- toString in class Object
dateToISODateString
public static String dateToISODateString(Date date)
- Returns a String representation of the ISODate for a give Date object
transformISODateToDate
public static Date transformISODateToDate(String isoDate) throws NumberFormatException
main
public static void main(String argv[])
All Packages Class Hierarchy This Package Previous Next Index