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);
value
parameters
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, validate
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
public TimezoneName(String name)
name
- the timezone name (e.g. "EST")public String getLanguage()
ICalProperty
public void setLanguage(String language)
ICalProperty
language
- the language (e.g. "en" for English) or null to removeCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.