Declared in ETObject.h

Overview

NSDateFormatter (ETFramework) is a category that easily provides pre-defined NSDateFormatter objects using caching to avoid overhead when generating new formatters.

Tasks

Static re-usable formatters.

Class Methods

ETDefaultDateFormatter

Returns a cached NSDateFormatter (if not cached then creates a new one) with the following format @"yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'".

+ (NSDateFormatter *)ETDefaultDateFormatter

Return Value

NSDateFormatter with the following pre-defined format: @"yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'".

Declared In

ETObject.h

ETDefaultJSONDateFormatter

Returns a cached NSDateFormatter (if not cached then creates a new one) with the following format @"yyyy-MM-dd'T'HH:mm:ss'Z'".

+ (NSDateFormatter *)ETDefaultJSONDateFormatter

Return Value

NSDateFormatter with the following pre-defined format: @"yyyy-MM-dd'T'HH:mm:ss'Z'".

Declared In

ETObject.h