biweekly.property
Class TimezoneName
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.ValuedProperty<String>
biweekly.property.TextProperty
biweekly.property.TimezoneName
public class TimezoneName
- extends TextProperty
Defines the traditional, non-standard name for a timezone (for example, "EST"
for the US east coast).
- Author:
- Michael Angstadt
- See Also:
- RFC 5545
p.103-4
Method Summary |
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. |
Methods inherited from class biweekly.property.ICalProperty |
addParameter, getAltRepresentation, getCommonName, getDirectoryEntry, getFormatType, getParameter, getParameters, getParameters, getSentBy, getTimezoneId, removeParameter, setAltRepresentation, setCommonName, setDirectoryEntry, setFormatType, setParameter, setParameter, setParameters, setSentBy, setTimezone, setTimezoneId, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimezoneName
public TimezoneName(String name)
- Creates a timezone name property.
- Parameters:
name
- the timezone name (e.g. "EST")
getLanguage
public String getLanguage()
- Description copied from class:
ICalProperty
- Gets the language that the property value is written in.
- Overrides:
getLanguage
in class ICalProperty
- Returns:
- the language (e.g. "en" for English) or null if not set
- See Also:
- RFC 5545
p.21
setLanguage
public void setLanguage(String language)
- Description copied from class:
ICalProperty
- Sets the language that the property value is written in.
- Overrides:
setLanguage
in class ICalProperty
- Parameters:
language
- the language (e.g. "en" for English) or null to remove- See Also:
- RFC 5545
p.21
Copyright © 2013 Michael Angstadt. All Rights Reserved.