Module ical4j.core

Class Iso8601

java.lang.Object
java.util.Date
net.fortuna.ical4j.model.Iso8601
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Date>
Direct Known Subclasses:
Date, Time

@Deprecated public abstract class Iso8601 extends Date
Deprecated.
Replaced with new Java Date/Time API implementation
$Id$ Created on 30/06/2005 Base class for date and time representations as defined by the ISO 8601 standard. Sub-classes must ensure that either the correct precision is used in constructor arguments, or that Object.equals() is overridden to ensure equality checking is consistent with the type.
See Also:
  • Constructor Details

    • Iso8601

      public Iso8601(long time, String pattern, int precision, TimeZone tz)
      Deprecated.
      Parameters:
      time - a time value in milliseconds
      pattern - the formatting pattern to apply
      precision - the precision to apply
      tz - the timezone for the instance
      See Also:
    • Iso8601

      public Iso8601(String pattern, int precision, TimeZone tz)
      Deprecated.
      Parameters:
      pattern - the formatting pattern to apply
      precision - the precision to apply
      tz - the timezone for the instance
      See Also:
    • Iso8601

      public Iso8601(Date time, String pattern, int precision, TimeZone tz)
      Deprecated.
      Parameters:
      time - a time value as a date
      pattern - the formatting pattern to apply
      precision - the precision to apply
      tz - the timezone for the instance
      See Also:
  • Method Details

    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Date
    • getFormat

      protected final DateFormat getFormat()
      Deprecated.
      Returns:
      Returns the format.
    • setTime

      public void setTime(long time)
      Deprecated.
      Overrides:
      setTime in class Date