XMPPTimestamp class documentation

Authors

Generated by builder

Software documentation for the XMPPTimestamp class

XMPPTimestamp : ETXMLNullHandler

Declared in:
XMPPTimestamp.h
The timestamp class encapsulates an XMPP timestamp of the kind found in the jabber:x:delay namespace. This has a time, and a reason for the delay associated with it. This class is used to parse such delays from the incoming XML stream.

Instance Variables

Method summary

timestampWithTime: reason: 

+ (id) timestampWithTime: (NSCalendarDate*)_time reason: (NSString*)_reason;
Create a new timestamp with the specified time and excuse.

compare: 

- (NSComparisonResult) compare: (XMPPTimestamp*)_other;
Compare two timestamps by their time.

initWithTime: reason: 

- (id) initWithTime: (NSCalendarDate*)_time reason: (NSString*)_reason;
Initialise a new timestamp with the specified time and excuse.

reason 

- (NSString*) reason;
Returns the reason given for the delay (undelayed XMPP items do not get timestamped; their arrival time is their timestamp).

stamp 

- (NSString*) stamp;
Returns a textual representation of the time.

time 

- (NSCalendarDate*) time;
Returns the time associated with this timestamp.



Instance Variables for XMPPTimestamp Class

reason

@protected NSMutableString* reason;
Description forthcoming.

time

@protected NSCalendarDate* time;
Description forthcoming.