Class TzOffsetTo

    • Constructor Detail

      • TzOffsetTo

        public TzOffsetTo()
        Default constructor.
      • TzOffsetTo

        public TzOffsetTo​(String value)
        Parameters:
        value - an offset value
      • TzOffsetTo

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

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

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

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

        public TzOffsetTo​(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.