net.java.slee.resources.smpp.util
Interface AbsoluteSMPPDate

All Superinterfaces:
java.io.Serializable, SMPPDate

public interface AbsoluteSMPPDate
extends SMPPDate


Method Summary
 java.util.Calendar getCalendar()
          Get a calendar object that represents the time specified by this SMPPDate.
 java.util.TimeZone getTimeZone()
          Get the timezone of this SMPPDate.
 
Methods inherited from interface net.java.slee.resources.smpp.util.SMPPDate
getDay, getHour, getMinute, getMonth, getSecond, getSign, getTenth, getUtcOffset, getYear, isAbsolute, isRelative
 

Method Detail

getTimeZone

java.util.TimeZone getTimeZone()
Get the timezone of this SMPPDate.

Returns:
The timezone of this SMPPDate object, or null if there is no timezone.

getCalendar

java.util.Calendar getCalendar()
Get a calendar object that represents the time specified by this SMPPDate. The returned value will be null for relative SMPP times. Also, for absolute SMPP times that do not contain timezone information, the returned calendar's timezone cannot be trusted - it will simply be initialised to whatever java.util.Calendar considers its default (usually the timezone of the JVM).

Returns:
A calendar object, or null if this is a relative time specification.


Copyright © 2010. All Rights Reserved.