Declared in NSDate+UPPlatform.h
NSDate+UPPlatform.m

Overview

Date helper methods.

Class Methods

dateFromDayInt:

Creates a date object from a day integer in the user’s local timezone. (i.e. 20140215)

+ (NSDate *)dateFromDayInt:(NSUInteger)dayInt

Parameters

dayInt

The day integer to convert to a date.

Discussion

Creates a date object from a day integer in the user’s local timezone. (i.e. 20140215)

Declared In

NSDate+UPPlatform.h

dateFromDayInt:inTimeZone:

Creates a date object from a day integer (i.e. 20140215)

+ (NSDate *)dateFromDayInt:(NSUInteger)dayInt inTimeZone:(NSTimeZone *)timezone

Parameters

dayInt

The day integer to convert to a date.

timezone

The timezone used to convert the date.

Discussion

Creates a date object from a day integer (i.e. 20140215)

Declared In

NSDate+UPPlatform.h

Instance Methods

dayIntString

The current date represented as a day integer string.

- (NSString *)dayIntString

Discussion

The current date represented as a day integer string.

Declared In

NSDate+UPPlatform.h