Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: f533eb8d63
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (12 sloc) 0.468 kB
#import <Foundation/Foundation.h>
#import "NSDate+XMPPDateTimeProfiles.h"
@interface XMPPDateTimeProfiles : NSObject
/**
* The following methods attempt to parse the given string following XEP-0082.
* They return nil if the given string doesn't follow the spec.
**/
+ (NSDate *)parseDate:(NSString *)dateStr;
+ (NSDate *)parseTime:(NSString *)timeStr;
+ (NSDate *)parseDateTime:(NSString *)dateTimeStr;
+ (NSTimeZone *)parseTimeZoneOffset:(NSString *)tzo;
@end
Jump to Line
Something went wrong with that request. Please try again.