public class TimezoneName extends TextProperty
Defines a traditional, human-readable, non-standard name for a timezone observance (for example, "Eastern Standard Time" for standard time on the US east coast).
Code sample:
VTimezone timezone = new VTimezone("East Coast");
StandardTime standard = new StandardTime();
standard.setTimezoneName("Eastern Standard Time");
...
timezone.addStandardTime(standard);
valueparameters| Constructor and Description |
|---|
TimezoneName(String name)
Creates a timezone name property.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLanguage()
Gets the language that the property value is written in.
|
void |
setLanguage(String language)
Sets the language that the property value is written in.
|
getValue, getValue, setValue, validateaddParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validatepublic TimezoneName(String name)
name - the timezone name (e.g. "EST")public String getLanguage()
ICalPropertypublic void setLanguage(String language)
ICalPropertylanguage - the language (e.g. "en" for English) or null to removeCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.