Objective-CclassFoundation

@interface NSDateComponentsFormatter : NSFormatter <NSObservable, NSObserver>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 75

  1. method+ (id)localizedStringFromDateComponents:(id)arg0 unitsStyle:(long long)arg1;
  2. ivarunsigned long long _allowedUnits;+0x30
  3. ivarBOOL _allowsFractionalUnits;+0x5c
  4. ivarNSCalendar *_calendar;+0x18
  5. ivarBOOL _collapsesLargestUnit;+0x5d
  6. ivarvoid *_fmt;+0x8
  7. ivarNSString *_fmtLocaleIdent;+0x10
  8. ivarlong long _formattingContext;+0x38
  9. ivarBOOL _includesApproximationPhrase;+0x5e
  10. ivarBOOL _includesTimeRemainingPhrase;+0x5f
  11. ivarstruct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lock;+0x58
  12. ivarlong long _maximumUnitCount;+0x50
  13. ivarNSDate *_referenceDate;+0x20
  14. ivarNSNumberFormatter *_unitFormatter;+0x28
  15. ivarlong long _unitsStyle;+0x40
  16. ivarunsigned long long _zeroFormattingBehavior;+0x48
  17. method- (void)_NSDateComponentsFormatter_commonInit;
  18. method- (id)_calendarFromDateComponents:(id)arg0;
  19. method- (id)_calendarOrCanonicalCalendar;
  20. method- (id)_canonicalizedDateComponents:(id)arg0 withCalendar:(id)arg1 usedUnits:(unsigned long long *)arg2 withReferenceDate:(id)arg3;
  21. method- (void)_ensureUnitFormatterWithLocale:(id)arg0;
  22. method- (void)_ensureUnitFormatterWithLocale_alreadyLocked:(id)arg0;
  23. method- (void)_flushFormatterCache_locked;
  24. method- (BOOL)_mayDecorateAttributedStringForObjectValue:(id)arg0;
  25. method- (BOOL)_updateFormatterCacheIfNeeded_locked:(id)arg0 unitsStyle:(long long)arg1;
  26. method- (unsigned long long)allowedUnits;
  27. method- (BOOL)allowsFractionalUnits;
  28. method- (id)calendar;
  29. method- (BOOL)collapsesLargestUnit;
  30. method- (id)copyWithZone:(struct _NSZone *)arg0;
  31. method- (void)dealloc;
  32. method- (void)encodeWithCoder:(id)arg0;
  33. method- (void)finalize;
  34. method- (long long)formattingContext;
  35. method- (BOOL)getObjectValue:(out id *)arg0 forString:(id)arg1 errorDescription:(out id *)arg2;
  36. method- (BOOL)includesApproximationPhrase;
  37. method- (BOOL)includesTimeRemainingPhrase;
  38. method- (id)init;
  39. method- (id)initWithCoder:(id)arg0;
  40. method- (long long)maximumUnitCount;
  41. method- (void)receiveObservedValue:(id)arg0;
  42. method- (id)referenceDate;
  43. method- (void)setAllowedUnits:(unsigned long long)arg0;
  44. method- (void)setAllowsFractionalUnits:(BOOL)arg0;
  45. method- (void)setCalendar:(id)arg0;
  46. method- (void)setCollapsesLargestUnit:(BOOL)arg0;
  47. method- (void)setFormattingContext:(long long)arg0;
  48. method- (void)setIncludesApproximationPhrase:(BOOL)arg0;
  49. method- (void)setIncludesTimeRemainingPhrase:(BOOL)arg0;
  50. method- (void)setMaximumUnitCount:(long long)arg0;
  51. method- (void)setReferenceDate:(id)arg0;
  52. method- (void)setUnitsStyle:(long long)arg0;
  53. method- (void)setZeroFormattingBehavior:(unsigned long long)arg0;
  54. method- (id)stringForObjectValue:(id)arg0;
  55. method- (id)stringForObjectValue:(id)arg0 withReferenceDate:(id)arg1;
  56. method- (id)stringFromDate:(id)arg0 toDate:(id)arg1;
  57. method- (id)stringFromDateComponents:(id)arg0;
  58. method- (id)stringFromTimeInterval:(double)arg0;
  59. method- (long long)unitsStyle;
  60. method- (unsigned long long)zeroFormattingBehavior;
  61. property@property unsigned long long allowedUnits;
  62. property@property BOOL allowsFractionalUnits;
  63. property@property(copy) NSCalendar *calendar;
  64. property@property BOOL collapsesLargestUnit;
  65. property@property(readonly, copy) NSString *debugDescription;
  66. property@property(readonly, copy) NSString *description;
  67. property@property long long formattingContext;
  68. property@property(readonly) unsigned long long hash;
  69. property@property BOOL includesApproximationPhrase;
  70. property@property BOOL includesTimeRemainingPhrase;
  71. property@property long long maximumUnitCount;
  72. property@property(copy) NSDate *referenceDate;
  73. property@property(readonly) Class superclass;
  74. property@property long long unitsStyle;
  75. property@property unsigned long long zeroFormattingBehavior;
@interface NSDateComponentsFormatter : NSFormatter <NSObservable, NSObserver> {
    void *_fmt;
    NSString *_fmtLocaleIdent;
    NSCalendar *_calendar;
    NSDate *_referenceDate;
    NSNumberFormatter *_unitFormatter;
    unsigned long long _allowedUnits;
    long long _formattingContext;
    long long _unitsStyle;
    unsigned long long _zeroFormattingBehavior;
    long long _maximumUnitCount;
    struct os_unfair_lock_s _lock;
    BOOL _allowsFractionalUnits;
    BOOL _collapsesLargestUnit;
    BOOL _includesApproximationPhrase;
    BOOL _includesTimeRemainingPhrase;
}

@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (copy, readonly) NSString *description;
@property (copy, readonly) NSString *debugDescription;
@property long long unitsStyle;
@property unsigned long long allowedUnits;
@property unsigned long long zeroFormattingBehavior;
@property (copy) NSCalendar *calendar;
@property (copy) NSDate *referenceDate;
@property BOOL allowsFractionalUnits;
@property long long maximumUnitCount;
@property BOOL collapsesLargestUnit;
@property BOOL includesApproximationPhrase;
@property BOOL includesTimeRemainingPhrase;
@property long long formattingContext;

+ (id)localizedStringFromDateComponents:(id)dateComponents unitsStyle:(long long)unitsStyle;

- (void)setUnitsStyle:(long long)unitsStyle;
- (id)calendar;
- (id)copyWithZone:(struct _NSZone *)zone;
- (void)finalize;
- (unsigned long long)allowedUnits;
- (void)dealloc;
- (BOOL)_mayDecorateAttributedStringForObjectValue:(id)objectValue;
- (id)init;
- (void)setCalendar:(id)calendar;
- (id)stringFromDate:(id)date toDate:(id)toDate;
- (long long)unitsStyle;
- (id)stringFromTimeInterval:(double)timeInterval;
- (void)encodeWithCoder:(id)coder;
- (BOOL)getObjectValue:(out id *)objectValue forString:(id)forString errorDescription:(out id *)errorDescription;
- (void)setFormattingContext:(long long)formattingContext;
- (id)stringForObjectValue:(id)objectValue;
- (long long)formattingContext;
- (void)setAllowedUnits:(unsigned long long)allowedUnits;
- (void)receiveObservedValue:(id)receiveObservedValue;
- (id)initWithCoder:(id)coder;
- (void)_NSDateComponentsFormatter_commonInit;
- (void)setIncludesApproximationPhrase:(BOOL)includesApproximationPhrase;
- (void)_ensureUnitFormatterWithLocale:(id)locale;
- (void)setIncludesTimeRemainingPhrase:(BOOL)includesTimeRemainingPhrase;
- (id)_calendarFromDateComponents:(id)dateComponents;
- (id)_calendarOrCanonicalCalendar;
- (id)_canonicalizedDateComponents:(id)_canonicalizedDateComponents withCalendar:(id)withCalendar usedUnits:(unsigned long long *)usedUnits withReferenceDate:(id)withReferenceDate;
- (void)_ensureUnitFormatterWithLocale_alreadyLocked:(id)locale_alreadyLocked;
- (void)_flushFormatterCache_locked;
- (BOOL)_updateFormatterCacheIfNeeded_locked:(id)_updateFormatterCacheIfNeeded_locked unitsStyle:(long long)unitsStyle;
- (BOOL)allowsFractionalUnits;
- (BOOL)collapsesLargestUnit;
- (BOOL)includesApproximationPhrase;
- (BOOL)includesTimeRemainingPhrase;
- (long long)maximumUnitCount;
- (id)referenceDate;
- (void)setAllowsFractionalUnits:(BOOL)allowsFractionalUnits;
- (void)setCollapsesLargestUnit:(BOOL)collapsesLargestUnit;
- (void)setMaximumUnitCount:(long long)maximumUnitCount;
- (void)setReferenceDate:(id)referenceDate;
- (void)setZeroFormattingBehavior:(unsigned long long)zeroFormattingBehavior;
- (id)stringForObjectValue:(id)objectValue withReferenceDate:(id)withReferenceDate;
- (id)stringFromDateComponents:(id)dateComponents;
- (unsigned long long)zeroFormattingBehavior;

@end