public class ZoneField extends SDPField implements TimeZoneAdjustment
| Modifier and Type | Field and Description |
|---|---|
protected SDPObjectList |
zoneAdjustments |
CORE_PACKAGE, SDPFIELDS_PACKAGEAND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentationATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD| Constructor and Description |
|---|
ZoneField()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addZoneAdjustment(ZoneAdjustment za)
Add an element to the zone adjustment list.
|
Object |
clone()
Clones this object.
|
String |
encode()
Encode this structure into a canonical form.
|
boolean |
getTypedTime()
Returns whether the field will be output as a typed time or a integer value.
|
SDPObjectList |
getZoneAdjustments()
Get the zone adjustment list.
|
Hashtable |
getZoneAdjustments(boolean create)
Returns a Hashtable of adjustment times, where:
key = Date.
|
void |
setTypedTime(boolean typedTime)
Sets whether the field will be output as a typed time or a integer value.
|
void |
setZoneAdjustments(Hashtable map)
Sets the Hashtable of adjustment times, where:
key = Date.
|
getFieldName, getTypeChar, toStringdbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, sprintdbgPrint, dbgPrint, debugDump, encode, getClassFromName, getIndentation, getMatcher, isMySubclass, makeClone, merge, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprintfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypeCharprotected SDPObjectList zoneAdjustments
public void addZoneAdjustment(ZoneAdjustment za)
za - zone adjustment to add.public SDPObjectList getZoneAdjustments()
public String encode()
public Hashtable getZoneAdjustments(boolean create) throws SdpParseException
getZoneAdjustments in interface TimeZoneAdjustmentcreate - to setSdpParseExceptionpublic void setZoneAdjustments(Hashtable map) throws SdpException
setZoneAdjustments in interface TimeZoneAdjustmentmap - Hashtable to setSdpException - if the parameter is nullpublic void setTypedTime(boolean typedTime)
setTypedTime in interface TimeZoneAdjustmenttypedTime - typedTime - if set true, the start and stop times will be
output in an optimal typed time format; if false, the
times will be output as integers.public boolean getTypedTime()
getTypedTime in interface TimeZoneAdjustmentpublic Object clone()
GenericObjectclone in interface Fieldclone in class GenericObjectCopyright © 2018. All Rights Reserved.