Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTCalendarFormatter.h
Go to the documentation of this file.
2 
3 @property (nonatomic, readwrite, strong, nullable) NSDateFormatter *dateFormatter;
4 @property (nonatomic, readwrite, copy, nullable) NSDate *referenceDate;
5 @property (nonatomic, readwrite, copy, nullable) NSCalendar *referenceCalendar;
6 @property (nonatomic, readwrite, assign) NSCalendarUnit referenceCalendarUnit;
7 
10 -(nonnull instancetype)initWithDateFormatter:(nullable NSDateFormatter *)aDateFormatter NS_DESIGNATED_INITIALIZER;
11 -(nullable instancetype)initWithCoder:(nonnull NSCoder *)decoder NS_DESIGNATED_INITIALIZER;
13 
14 @end
NSNumberFormatter
CPTCalendarFormatter
A number formatter that converts calendar intervals to dates.
Definition: CPTCalendarFormatter.h:2
CPTCalendarFormatter::referenceDate
NSDate * referenceDate
Date from which time intervals are computed. If nil, the standard reference date (1 January 2001,...
Definition: CPTCalendarFormatter.h:4
CPTCalendarFormatter::referenceCalendar
NSCalendar * referenceCalendar
Calendar which is used for date calculations. If nil, the current calendar is used.
Definition: CPTCalendarFormatter.h:5
CPTCalendarFormatter::dateFormatter
NSDateFormatter * dateFormatter
The date formatter used to generate strings from date calculations.
Definition: CPTCalendarFormatter.h:3
-[NSObject copy]
id copy
NSCalendar
CPTCalendarFormatter::referenceCalendarUnit
NSCalendarUnit referenceCalendarUnit
Calendar unit which is incremented in the date calculation. If zero (0), the date is incremented.
Definition: CPTCalendarFormatter.h:6
NSCalendarUnit
NSCalendarUnit
NSCoder