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.


Constructor Index

 o ISODate()
constructs an ISODate initialized with current time.
 o ISODate(Date)
Constructs an ISODate from java.util.Date
 o ISODate(String)
Parses a String representation of an ISODate.

Method Index

 o dateToISODateString(Date)
Returns a String representation of the ISODate for a give Date object
 o getDate()
Returns an equivalent java.util.Date object
 o main(String[])
 o toString()
Returns a String representation of the ISODate.
 o transformISODateToDate(String)

Constructors

 o ISODate
 public ISODate()
constructs an ISODate initialized with current time.

 o ISODate
 public ISODate(String s)
Parses a String representation of an ISODate.

 o ISODate
 public ISODate(Date date)
Constructs an ISODate from java.util.Date

Methods

 o getDate
 public Date getDate()
Returns an equivalent java.util.Date object

 o toString
 public String toString()
Returns a String representation of the ISODate.

Overrides:
toString in class Object
 o dateToISODateString
 public static String dateToISODateString(Date date)
Returns a String representation of the ISODate for a give Date object

 o transformISODateToDate
 public static Date transformISODateToDate(String isoDate) throws NumberFormatException
 o main
 public static void main(String argv[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index