Module ical4j.core

Class Time

All Implemented Interfaces:
Serializable, Cloneable, Comparable<Date>

@Deprecated public class Time extends Iso8601
Deprecated.
Use LocalTime for iCalendar TIME representations.
$Id$ Created on 30/06/2005 A type used to represent iCalendar time values.
See Also:
  • Constructor Details

    • Time

      public Time(TimeZone timezone)
      Deprecated.
      Parameters:
      timezone - a timezone for the instance
    • Time

      public Time(TimeZone timezone, boolean utc)
      Deprecated.
      Parameters:
      timezone - a timezone for the instance
      utc - indicates if the time is in UTC
    • Time

      public Time(long time, TimeZone timezone)
      Deprecated.
      Parameters:
      time - a time value in milliseconds from the epoch
      timezone - a timezone for the instance
    • Time

      public Time(long time, TimeZone timezone, boolean utc)
      Deprecated.
      Parameters:
      time - a time value in milliseconds from the epoch
      timezone - a timezone for the instance
      utc - indicates if the time is in UTC
    • Time

      public Time(Date time, TimeZone timezone)
      Deprecated.
      Parameters:
      time - a time value in milliseconds from the epoch
      timezone - a timezone for the instance
    • Time

      public Time(Date time, TimeZone timezone, boolean utc)
      Deprecated.
      Parameters:
      time - a time value as a Java date instance
      timezone - a timezone for the instance
      utc - indicates if the time is in UTC
    • Time

      public Time(String value, TimeZone timezone) throws ParseException
      Deprecated.
      Parameters:
      value -
      timezone -
      Throws:
      ParseException - where the specified value is not a valid time string
    • Time

      public Time(String value, TimeZone timezone, boolean utc) throws ParseException
      Deprecated.
      Parameters:
      value -
      timezone -
      utc -
      Throws:
      ParseException - where the specified value is not a valid time string
  • Method Details

    • isUtc

      public final boolean isUtc()
      Deprecated.
      Returns:
      true if time is utc