ESHalfYearLocalizerPOD Class Reference
| Inherits from | NSObject |
| Conforms to | ESHalfYearLocalizer |
| Declared in | ESHalfYearLocalizerPOD.h ESHalfYearLocalizerPOD.m |
Properties
formatForFirstHalfYear
A value passed in the constructor.
@property (nonatomic, readonly) NSString *formatForFirstHalfYearDiscussion
First half year format string. For example,
- @“%@ 年 上半期”
- @“H1 ‘%@”
Declared In
ESHalfYearLocalizerPOD.hformatForSecondHalfYear
A value passed in the constructor.
@property (nonatomic, readonly) NSString *formatForSecondHalfYearDiscussion
Second half year format string. For example,
- @“%@ 年 下半期”
- @“H2 ‘%@”
Declared In
ESHalfYearLocalizerPOD.hshouldTruncateYear
A boolean representation of the [ESHalfYearLocalizerPOD yearTruncationMode]. Throws an exception for the invalid format.
@property (nonatomic, readonly) BOOL shouldTruncateYearDeclared In
ESHalfYearLocalizerPOD.hClass Methods
Instance Methods
init
Unsupported initializer. Throws an exception.
- (instancetype)initReturn Value
nil if asserts are disabled.
Declared In
ESHalfYearLocalizerPOD.hinitWithFirstHalfFormat:secondHalfFormat:yearTruncationMode:
First half year format string. For example,
- (instancetype)initWithFirstHalfFormat:(NSString *)firstHalfFormat secondHalfFormat:(NSString *)secondHalfFormat yearTruncationMode:(NSString *)yearTruncationModeParameters
- firstHalfFormat
First half year format string. For example,
- @“%@ 年 上半期”
- @“H1 ‘%@”
- secondHalfFormat
Second half year format string. For example,
- @“%@ 年 下半期”
- @“H2 ‘%@”
- yearTruncationMode
An identifier from the SQL function. It chould be ‘short’ or ‘long’ Note : year mode is case insensitive
Return Value
A properly initialized ESHalfYearLocalizerPOD object.
Declared In
ESHalfYearLocalizerPOD.h