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
use this ID to reference the VTimezone
component that their value
adheres to.
VTimezone timezone = new VTimezone("Eastern"); Date start = ...; DateStart dtstart = new DateStart(start); dtStart.setTimezoneId("Eastern");
All properties that support timezones will have get/setTimezoneId()
methods. If a property has no timezone assigned to it, it is written in UTC
by default.
value
parameters
Constructor and Description |
---|
TimezoneId(String timezone)
Creates a timezone identifier property.
|
getValue, setValue, validate
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
public TimezoneId(String timezone)
timezone
- the timezone identifierCopyright © 2013-2014 Michael Angstadt. All Rights Reserved.