|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.model.common.Property
com.funambol.common.pim.model.common.PropertyWithTimeZone
public class PropertyWithTimeZone
This class extends com.funambol.common.pim.common.Property attaching a time zone to it. About the format used for the time zone, please see http://java.sun.com/javase/timezones/.
Field Summary | |
---|---|
protected java.lang.String |
timeZone
|
Fields inherited from class com.funambol.common.pim.model.common.Property |
---|
altrep, chrset, cn, cutype, delegatedFrom, delegatedTo, dir, encoding, group, language, member, partstat, propertyValue, related, sentby, tag, type, value, xParams |
Constructor Summary | |
---|---|
PropertyWithTimeZone()
Creates a new PropertyWithTimeZone with a null time zone and no value. |
|
PropertyWithTimeZone(Property property,
java.lang.String timezone)
Creates a new PropertyWithTimeZone by attaching a time zone to the value of an existing property. |
|
PropertyWithTimeZone(java.lang.String propertyValue)
Creates a new PropertyWithTimeZone with a null time zone. |
|
PropertyWithTimeZone(java.lang.String propertyValue,
java.lang.String timeZone)
Creates a new PropertyWithTimeZone. |
Method Summary | |
---|---|
java.lang.String |
getTimeZone()
Gets the time zone property. |
void |
setTimeZone(java.lang.String timeZone)
Sets the time zone property. |
Methods inherited from class com.funambol.common.pim.model.common.Property |
---|
compare, equals, getAltrep, getCharset, getCn, getCutype, getDelegatedFrom, getDelegatedTo, getDir, getEncoding, getGroup, getLanguage, getMember, getPartstat, getPropertyValue, getPropertyValueAsString, getRelated, getSentby, getTag, getType, getValue, getXParams, hashCode, isEmptyProperty, setAltrep, setCharset, setCn, setCutype, setDelegatedFrom, setDelegatedTo, setDir, setEncoding, setGroup, setLanguage, setMember, setPartstat, setPropertyValue, setRelated, setSentby, setTag, setType, setValue, setXParams, stringFrom, stringFrom |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String timeZone
Constructor Detail |
---|
public PropertyWithTimeZone(java.lang.String propertyValue, java.lang.String timeZone)
propertyValue
- the text value of the propertytimeZone
- the time zone as its Olson IDpublic PropertyWithTimeZone(java.lang.String propertyValue)
propertyValue
- the text value of the propertypublic PropertyWithTimeZone()
public PropertyWithTimeZone(Property property, java.lang.String timezone)
property
- an existing property, whose text value will be recycledtimezone
- the time zone as its Olson IDMethod Detail |
---|
public java.lang.String getTimeZone()
public void setTimeZone(java.lang.String timeZone)
timeZone
- the time zone as its Olson ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |