Authors
- Generated by builder
-
- 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
+ (id)
timestampWithTime: (
NSCalendarDate*)_time
reason: (
NSString*)_reason;
Create a new timestamp with the specified time and
excuse.
- (id)
initWithTime: (
NSCalendarDate*)_time
reason: (
NSString*)_reason;
Initialise a new timestamp with the specified
time and excuse.
- (
NSString*)
reason;
Returns the reason given for the delay (undelayed
XMPP items do not get timestamped; their arrival time
is their timestamp).
- (
NSString*)
stamp;
Returns a textual representation of the time.
- (
NSCalendarDate*)
time;
Returns the time associated with this timestamp.
Instance Variables for XMPPTimestamp Class
@protected NSMutableString* reason;
Description forthcoming.
@protected NSCalendarDate* time;
Description forthcoming.