#import <CPDateFormatter.h>
Class Methods | |
(CPString) | + dateFormatFromTemplate:options:locale: |
(CPDateFormatterBehavior) | + defaultFormatterBehavior |
(void) | + initialize |
(CPString) | + localizedStringFromDate:dateStyle:timeStyle: |
(void) | + setDefaultFormatterBehavior: |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(void) | + cancelPreviousPerformRequestsWithTarget: |
(void) | + cancelPreviousPerformRequestsWithTarget:selector:object: |
(Class) | + class |
(BOOL) | + conformsToProtocol: |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(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 2177 of file CPDateFormatter.j.
|
implementation |
Return AMSymbol
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 269 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2313 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 109 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 1146 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2249 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2201 of file CPDateFormatter.j.
|
implementation |
Return the defaultFormatterBehavior
Definition at line 117 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2185 of file CPDateFormatter.j.
|
implementation |
Return a string This method call the method stringForObjectValue
anObject |
Reimplemented from CPFormatter.
Definition at line 682 of file CPDateFormatter.j.
|
implementation |
Reimplemented from CPFormatter.
Provided by category CPDateFormatter(CPCoding).
Definition at line 2141 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2233 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 1242 of file CPDateFormatter.j.
|
implementation |
Init a dateFormatter
Reimplemented from CPObject.
Definition at line 133 of file CPDateFormatter.j.
|
implementation |
Reimplemented from CPObject.
Definition at line 70 of file CPDateFormatter.j.
|
implementation |
Reimplemented from CPFormatter.
Provided by category CPDateFormatter(CPCoding).
Definition at line 2121 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 151 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2281 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 91 of file CPDateFormatter.j.
|
implementation |
Return the monthSymbols
Definition at line 381 of file CPDateFormatter.j.
|
implementation |
Return a PMSymbol
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 283 of file CPDateFormatter.j.
|
implementation |
Return the quarterSymbols
Definition at line 465 of file CPDateFormatter.j.
|
implementation |
Set the AMSymbol
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 276 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2321 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 2209 of file CPDateFormatter.j.
|
implementation |
Set the defaultFormatterBehavior
behavior |
Definition at line 125 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2193 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2241 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2289 of file CPDateFormatter.j.
|
implementation |
Set the monthSymbols
Definition at line 388 of file CPDateFormatter.j.
|
implementation |
Set the PMSymbol
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 290 of file CPDateFormatter.j.
|
implementation |
Set the quarterSymbols
Definition at line 472 of file CPDateFormatter.j.
|
implementation |
Set the shortMonthSymbols
Definition at line 402 of file CPDateFormatter.j.
|
implementation |
Set the shortQuarterSymbols
Definition at line 486 of file CPDateFormatter.j.
|
implementation |
Set the shortStandaloneMonthSymbols
Definition at line 444 of file CPDateFormatter.j.
|
implementation |
Set the shortStandaloneQuarterSymbols
Definition at line 514 of file CPDateFormatter.j.
|
implementation |
Set the shortStandaloneWeekdaySymbols
Definition at line 360 of file CPDateFormatter.j.
|
implementation |
Set the shortWeekdaySymbols
Definition at line 318 of file CPDateFormatter.j.
|
implementation |
Set the standaloneMonthSymbols
Definition at line 430 of file CPDateFormatter.j.
|
implementation |
Set the standaloneQuarterSymbols
Definition at line 500 of file CPDateFormatter.j.
|
implementation |
Set the standaloneWeekdaySymbols
Definition at line 346 of file CPDateFormatter.j.
|
implementation |
Set the symbol specified by the given key for the given language code
Definition at line 258 of file CPDateFormatter.j.
|
implementation |
Set the symbols for the given language code
Definition at line 235 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 2353 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2225 of file CPDateFormatter.j.
|
implementation |
Set the veryShortMonthSymbols
Definition at line 416 of file CPDateFormatter.j.
|
implementation |
Set the veryShortStandaloneMonthSymbols
Definition at line 458 of file CPDateFormatter.j.
|
implementation |
Set the veryShortStandaloneWeekdaySymbols
Definition at line 374 of file CPDateFormatter.j.
|
implementation |
Set the veryShortWeekdaySymbols
Definition at line 332 of file CPDateFormatter.j.
|
implementation |
Set the weekdaySymbols
Definition at line 304 of file CPDateFormatter.j.
|
implementation |
Return a shortMonthSymbols
Definition at line 395 of file CPDateFormatter.j.
|
implementation |
Return the shortQuarterSymbols
Definition at line 479 of file CPDateFormatter.j.
|
implementation |
Return the shortStandaloneMonthSymbols
Definition at line 437 of file CPDateFormatter.j.
|
implementation |
Return the shortStandaloneQuarterSymbols
Definition at line 507 of file CPDateFormatter.j.
|
implementation |
Return the shortStandaloneWeekdaySymbols
Definition at line 353 of file CPDateFormatter.j.
|
implementation |
Return a shortWeekdaySymbols
Definition at line 311 of file CPDateFormatter.j.
|
implementation |
Return standaloneMonthSymbols
Definition at line 423 of file CPDateFormatter.j.
|
implementation |
Return the standaloneQuarterSymbols
Definition at line 493 of file CPDateFormatter.j.
|
implementation |
Return the standaloneWeekdaySymbols
Definition at line 339 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 669 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 528 of file CPDateFormatter.j.
Return a symbol specified by the given key for the given language code
Definition at line 242 of file CPDateFormatter.j.
|
implementation |
Return symbols for the given language code
Definition at line 220 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 2345 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 2217 of file CPDateFormatter.j.
|
implementation |
Return veryShortMonthSymbols
Definition at line 409 of file CPDateFormatter.j.
|
implementation |
Return the veryShortStandaloneMonthSymbols
Definition at line 451 of file CPDateFormatter.j.
|
implementation |
Return the veryShortStandaloneWeekdaySymbols
Definition at line 367 of file CPDateFormatter.j.
|
implementation |
Return veryShortWeekdaySymbols
Definition at line 325 of file CPDateFormatter.j.
|
implementation |
Return the weekdaySymbols
Definition at line 297 of file CPDateFormatter.j.