NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

gov.nist.javax.sdp.fields
Class ZoneAdjustment

java.lang.Object
  extended by gov.nist.core.GenericObject
      extended by gov.nist.javax.sdp.fields.SDPObject
          extended by gov.nist.javax.sdp.fields.ZoneAdjustment
All Implemented Interfaces:
SDPFieldNames, Serializable, Cloneable

public class ZoneAdjustment
extends SDPObject

Zone adjustment class.

Version:
1.2
Author:
M. Ranganathan
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface gov.nist.javax.sdp.fields.SDPFieldNames
ATTRIBUTE_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 Summary
ZoneAdjustment()
           
 
Method Summary
 Object clone()
          Clones this object.
 String encode()
          Encode this structure into canonical form.
 TypedTime getOffset()
          get the offset.
 long getTime()
          Get the time.
 void setOffset(TypedTime off)
          Set the offset.
 void setSign(String s)
          Set the sign.
 void setTime(long t)
          Set the time.
 
Methods inherited from class gov.nist.javax.sdp.fields.SDPObject
dbgPrint, debugDump, equals, match, toString
 
Methods inherited from class gov.nist.core.GenericObject
debugDump, encode, getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZoneAdjustment

public ZoneAdjustment()
Method Detail

setTime

public void setTime(long t)
Set the time.

Parameters:
t - time to set.

getTime

public long getTime()
Get the time.


getOffset

public TypedTime getOffset()
get the offset.


setOffset

public void setOffset(TypedTime off)
Set the offset.

Parameters:
off - typed time offset to set.

setSign

public void setSign(String s)
Set the sign.

Parameters:
s - sign for the offset.

encode

public String encode()
Encode this structure into canonical form.

Specified by:
encode in class SDPObject
Returns:
encoded form of the header.

clone

public Object clone()
Description copied from class: gov.nist.core.GenericObject
Clones this object.

Overrides:
clone in class gov.nist.core.GenericObject

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.