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