biweekly.property
Class TimezoneName

java.lang.Object
  extended by biweekly.property.ICalProperty
      extended by biweekly.property.ValuedProperty<String>
          extended by biweekly.property.TextProperty
              extended by 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

Field Summary
 
Fields inherited from class biweekly.property.ValuedProperty
value
 
Fields inherited from class biweekly.property.ICalProperty
parameters
 
Constructor Summary
TimezoneName(String name)
          Creates a timezone name property.
 
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.ValuedProperty
getValue, setValue, validate
 
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
 

Constructor Detail

TimezoneName

public TimezoneName(String name)
Creates a timezone name property.

Parameters:
name - the timezone name (e.g. "EST")
Method Detail

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.