Inherits from NSObject
Declared in ESYearModeParser.h
ESYearModeParser.m

Overview

A class to convert the error mode string from SQL function to the ESYearMode enum.

Class Methods

parseYearModeString:error:

A method to convert the error mode string from SQL function to the ESYearMode enum.

+ (ESYearMode)parseYearModeString:(NSString *)yearMode error:(NSError **)outError

Parameters

yearMode

year mode strin from the SQL function.

outError

An output parameter NSError object. Accepts NULL although we recommend handling all errors.

Return Value

ESYearModeUndefined if parsing failed. ESYearModeShort or ESYearModeLong otherwise.

Declared In

ESYearModeParser.h