biweekly.property
Class TimezoneOffsetFrom
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.UtcOffsetProperty
biweekly.property.TimezoneOffsetFrom
public class TimezoneOffsetFrom
- extends UtcOffsetProperty
Defines the timezone offset that was in use before a timezone observance.
Examples:
//creating a new property
TimezoneOffsetFrom tzname = new TimezoneOffsetFrom(-5, 0);
//usage in a VTIMEZONE component
VTimezone timezone = ...
StandardTime standard = new StandardTime();
standard.setTimezoneOffsetFrom(-5, 0);
...
timezone.addStandardTime(standard);
- Author:
- Michael Angstadt
- Specification Reference:
- RFC 5545 p.104-5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimezoneOffsetFrom
public TimezoneOffsetFrom(Integer hourOffset,
Integer minuteOffset)
- Creates a new timezone offset from property.
- Parameters:
hourOffset
- the hour offset (e.g. "-5")minuteOffset
- the minute offset (e.g. "0")
TimezoneOffsetFrom
public TimezoneOffsetFrom(UtcOffset offset)
- Creates a new timezone offset from property.
- Parameters:
offset
- the UTC offset
Copyright © 2013 Michael Angstadt. All Rights Reserved.