Class UtcOffset

java.lang.Object
net.fortuna.ical4j.model.UtcOffset
All Implemented Interfaces:
Serializable

@Deprecated public class UtcOffset extends Object implements Serializable
Deprecated.
Replaced by ZoneOffset in Java 8.
$Id$ Created on 26/06/2005 Represents a timezone offset from UTC time.
See Also:
  • Constructor Details

    • UtcOffset

      public UtcOffset(String value)
      Deprecated.
      Parameters:
      value - a string representation of an offset
    • UtcOffset

      public UtcOffset(long offset)
      Deprecated.
      Parameters:
      offset - an offset value in milliseconds
  • Method Details

    • toString

      public final String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • getOffset

      public final long getOffset()
      Deprecated.
      Returns:
      Returns the offset.
    • equals

      public final boolean equals(Object arg0)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object