biweekly.property
Class TimezoneId
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.ValuedProperty<String>
biweekly.property.TextProperty
biweekly.property.TimezoneId
public class TimezoneId
- extends TextProperty
Defines a unique identifier for a VTimezone
component. The identifier
must be unique within the scope of the iCalendar object.
Date-time properties that support timezones (such as DateStart
) can
format their date-time values according to the rules defined in the
VTimezone
component, and then use this ID to reference the component
by assigning the ID to a TZID parameter.
All properties that support timezones will have
get/setTimezoneId()
methods. If a property has no timezone
assigned to it, it is written in UTC.
Examples:
VTimezone timezone = new VTimezone("Eastern");
Date start = ...;
DateStart dtstart = new DateStart(start);
dtStart.setTimezoneId("Eastern");
- Author:
- Michael Angstadt
- Specification Reference:
- RFC 5545 p.102-3
Constructor Summary |
TimezoneId(String timezone)
Creates a timezone identifier property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimezoneId
public TimezoneId(String timezone)
- Creates a timezone identifier property.
- Parameters:
timezone
- the timezone identifier
Copyright © 2013 Michael Angstadt. All Rights Reserved.