AGSTimeReference Class Reference


Description

Instances of this class represent time reference which contains information about how the time was measured. Conceptually similar to a spatial reference, includes information about daylight savings time in addition to the time zone. You can use it to project a time object from one time zone to another. You can also associate one of several predefined time zones with a given time object.

Defined in:
AGSTime.h ( ArcGIS library)
Since:
1.0
Inheritance diagram for AGSTimeReference:
<AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Properties

BOOL respectsDaylightSaving
NSTimeZone * timeZone

Member Function Documentation

- (void) decodeWithJSON: (NSDictionary *)  json   [optional, inherited]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional, inherited]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional, inherited]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0

Property Documentation

- (BOOL) respectsDaylightSaving [read, write, assign]

Determines whether or not the referenced time respects Daylight Savings Time.

Since:
1.0
- (NSTimeZone*) timeZone [read, write, copy]

Time zone information associated with the time reference.

Since:
1.0