#import <CPDateFormatter.h>
Inheritance diagram for CPDateFormatter:Class Methods | |
| (CPString) | + dateFormatFromTemplate:options:locale: |
| (CPDateFormatterBehavior) | + defaultFormatterBehavior |
| (void) | + initialize |
| (CPString) | + localizedStringFromDate:dateStyle:timeStyle: |
| (void) | + setDefaultFormatterBehavior: |
Class Methods inherited from CPObject | |
| (BOOL) | + accessInstanceVariablesDirectly |
| (id) | + alloc |
| (id) | + allocWithCoder: |
| (BOOL) | + automaticallyNotifiesObserversForKey: |
| (void) | + cancelPreviousPerformRequestsWithTarget: |
| (void) | + cancelPreviousPerformRequestsWithTarget:selector:object: |
| (Class) | + class |
| (BOOL) | + conformsToProtocol: |
| (void) | + exposeBinding: |
| (IMP) | + instanceMethodForSelector: |
| (BOOL) | + instancesImplementSelector: |
| (BOOL) | + instancesRespondToSelector: |
| (BOOL) | + isBindingExclusive: |
| (BOOL) | + isSubclassOfClass: |
| (CPSet) | + keyPathsForValuesAffectingValueForKey: |
| (void) | + load |
| (id) | + new |
| (void) | + object:performSelector:withObject:afterDelay:inModes: |
| (void) | + setVersion: |
| (Class) | + superclass |
| (int) | + version |
CPDateFormatter takes a CPDate value and formats it as text for display. It also supports the converse, taking text and interpreting it as a CPDate by configurable formatting rules.
Definition at line 2 of file CPDateFormatter.h.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2193 of file CPDateFormatter.j.
|
implementation |
Return AMSymbol
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 279 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2329 of file CPDateFormatter.j.
|
implementation |
Not yet implemented Return a string representation of the given template, opts and locale
| template | the template |
| opts,pass | 0 |
| locale | the locale |
Definition at line 111 of file CPDateFormatter.j.
Return a date of the given string This method returns (if possible) a representation of the given string with the dateFormat of the CPDateFormatter, otherwise it takes the dateStyle and timeStyle
| aString |
Definition at line 1162 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2265 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2217 of file CPDateFormatter.j.
|
implementation |
Return the defaultFormatterBehavior
Definition at line 119 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2201 of file CPDateFormatter.j.
|
implementation |
Return a string This method call the method stringForObjectValue
| anObject |
Reimplemented from CPFormatter.
Definition at line 698 of file CPDateFormatter.j.
|
implementation |
Reimplemented from CPFormatter.
Provided by category CPDateFormatter(CPCoding).
Definition at line 2157 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2249 of file CPDateFormatter.j.
|
implementation |
Returns a boolean if the given object has been changed or not depending of the given string (use of ref)
| anObject | the given object |
| aString | |
| anError,if | it returns NO the describe error will be in anError (use of ref) |
Reimplemented from CPFormatter.
Definition at line 1258 of file CPDateFormatter.j.
|
implementation |
Init a dateFormatter
Reimplemented from CPObject.
Definition at line 143 of file CPDateFormatter.j.
|
implementation |
Reimplemented from CPObject.
Definition at line 72 of file CPDateFormatter.j.
|
implementation |
Reimplemented from CPFormatter.
Provided by category CPDateFormatter(CPCoding).
Definition at line 2137 of file CPDateFormatter.j.
|
implementation |
Init a dateFormatter with a format and the naturalLanguage
| format | the format |
| flag | flag representation of allowNaturalLanguage |
Definition at line 161 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2297 of file CPDateFormatter.j.
|
implementation |
Return a string representation of the given date, dateStyle and timeStyle
| date | the given date |
| dateStyle | the dateStyle |
| timeStyle | the timeStyle |
Definition at line 93 of file CPDateFormatter.j.
|
implementation |
Return the monthSymbols
Definition at line 391 of file CPDateFormatter.j.
|
implementation |
Return a PMSymbol
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 293 of file CPDateFormatter.j.
|
implementation |
Return the quarterSymbols
Definition at line 475 of file CPDateFormatter.j.
|
implementation |
Set the AMSymbol
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 286 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2337 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2273 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2225 of file CPDateFormatter.j.
|
implementation |
Set the defaultFormatterBehavior
| behavior |
Definition at line 127 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2209 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2257 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2305 of file CPDateFormatter.j.
|
implementation |
Set the monthSymbols
Definition at line 398 of file CPDateFormatter.j.
|
implementation |
Set the PMSymbol
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 300 of file CPDateFormatter.j.
|
implementation |
Set the quarterSymbols
Definition at line 482 of file CPDateFormatter.j.
|
implementation |
Set the shortMonthSymbols
Definition at line 412 of file CPDateFormatter.j.
|
implementation |
Set the shortQuarterSymbols
Definition at line 496 of file CPDateFormatter.j.
|
implementation |
Set the shortStandaloneMonthSymbols
Definition at line 454 of file CPDateFormatter.j.
|
implementation |
Set the shortStandaloneQuarterSymbols
Definition at line 524 of file CPDateFormatter.j.
|
implementation |
Set the shortStandaloneWeekdaySymbols
Definition at line 370 of file CPDateFormatter.j.
|
implementation |
Set the shortWeekdaySymbols
Definition at line 328 of file CPDateFormatter.j.
|
implementation |
Set the standaloneMonthSymbols
Definition at line 440 of file CPDateFormatter.j.
|
implementation |
Set the standaloneQuarterSymbols
Definition at line 510 of file CPDateFormatter.j.
|
implementation |
Set the standaloneWeekdaySymbols
Definition at line 356 of file CPDateFormatter.j.
|
implementation |
Set the symbol specified by the given key for the given language code
Definition at line 268 of file CPDateFormatter.j.
|
implementation |
Set the symbols for the given language code
Definition at line 245 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2289 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2369 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2241 of file CPDateFormatter.j.
|
implementation |
Set the veryShortMonthSymbols
Definition at line 426 of file CPDateFormatter.j.
|
implementation |
Set the veryShortStandaloneMonthSymbols
Definition at line 468 of file CPDateFormatter.j.
|
implementation |
Set the veryShortStandaloneWeekdaySymbols
Definition at line 384 of file CPDateFormatter.j.
|
implementation |
Set the veryShortWeekdaySymbols
Definition at line 342 of file CPDateFormatter.j.
|
implementation |
Set the weekdaySymbols
Definition at line 314 of file CPDateFormatter.j.
|
implementation |
Return a shortMonthSymbols
Definition at line 405 of file CPDateFormatter.j.
|
implementation |
Return the shortQuarterSymbols
Definition at line 489 of file CPDateFormatter.j.
|
implementation |
Return the shortStandaloneMonthSymbols
Definition at line 447 of file CPDateFormatter.j.
|
implementation |
Return the shortStandaloneQuarterSymbols
Definition at line 517 of file CPDateFormatter.j.
|
implementation |
Return the shortStandaloneWeekdaySymbols
Definition at line 363 of file CPDateFormatter.j.
|
implementation |
Return a shortWeekdaySymbols
Definition at line 321 of file CPDateFormatter.j.
|
implementation |
Return standaloneMonthSymbols
Definition at line 433 of file CPDateFormatter.j.
|
implementation |
Return the standaloneQuarterSymbols
Definition at line 503 of file CPDateFormatter.j.
|
implementation |
Return the standaloneWeekdaySymbols
Definition at line 349 of file CPDateFormatter.j.
|
implementation |
Return a string representation of the given objectValue. This method call the method stringFromDate if possible, otherwise it returns the description of the object
| anObject |
Reimplemented from CPFormatter.
Definition at line 685 of file CPDateFormatter.j.
Return a string representation of a given date. This method returns (if possible) a representation of the given date with the dateFormat of the CPDateFormatter, otherwise it takes the dateStyle and timeStyle
| aDate | the given date |
Definition at line 538 of file CPDateFormatter.j.
Return a symbol specified by the given key for the given language code
Definition at line 252 of file CPDateFormatter.j.
|
implementation |
Return symbols for the given language code
Definition at line 230 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2281 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2361 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2233 of file CPDateFormatter.j.
|
implementation |
Return veryShortMonthSymbols
Definition at line 419 of file CPDateFormatter.j.
|
implementation |
Return the veryShortStandaloneMonthSymbols
Definition at line 461 of file CPDateFormatter.j.
|
implementation |
Return the veryShortStandaloneWeekdaySymbols
Definition at line 377 of file CPDateFormatter.j.
|
implementation |
Return veryShortWeekdaySymbols
Definition at line 335 of file CPDateFormatter.j.
|
implementation |
Return the weekdaySymbols
Definition at line 307 of file CPDateFormatter.j.