Class TzOffsetFrom

  • All Implemented Interfaces:
    Serializable

    public class TzOffsetFrom
    extends Property
    $Id$

    Created: [Apr 6, 2004]

    Defines a TZOFFSETFROM iCalendar component property.

    See Also:
    Serialized Form
    • Constructor Detail

      • TzOffsetFrom

        public TzOffsetFrom()
        Default constructor.
      • TzOffsetFrom

        public TzOffsetFrom​(String aValue)
        Parameters:
        aValue - a value string for this component
      • TzOffsetFrom

        public TzOffsetFrom​(ParameterList aList,
                            String aValue)
        Parameters:
        aList - a list of parameters for this component
        aValue - a value string for this component
      • TzOffsetFrom

        @Deprecated
        public TzOffsetFrom​(UtcOffset anOffset)
        Deprecated.
        Parameters:
        anOffset - a timezone offset in milliseconds
      • TzOffsetFrom

        public TzOffsetFrom​(ZoneOffset anOffset)
        Parameters:
        anOffset - a timezone offset in milliseconds
      • TzOffsetFrom

        @Deprecated
        public TzOffsetFrom​(ParameterList aList,
                            UtcOffset anOffset)
        Deprecated.
        Parameters:
        aList - a list of parameters for this component
        anOffset - a timezone offset in milliseconds
      • TzOffsetFrom

        public TzOffsetFrom​(ParameterList aList,
                            ZoneOffset anOffset)
        Parameters:
        aList - a list of parameters for this component
        anOffset - a timezone offset in milliseconds
    • Method Detail

      • getOffset

        public final ZoneOffset getOffset()
        Returns:
        Returns the offset.
      • setValue

        public final void setValue​(String aValue)
        Sets the current value of the property.
        Specified by:
        setValue in class Property
        Parameters:
        aValue - a string representation of the property value
      • getValue

        public final String getValue()
        Specified by:
        getValue in class Content
        Returns:
        the content value
      • setOffset

        public final void setOffset​(ZoneOffset offset)
        Parameters:
        offset - The offset to set.