Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTTimeFormatter.h
Go to the documentation of this file.
1
@interface
CPTTimeFormatter
:
NSNumberFormatter
2
3
@property
(nonatomic, readwrite, strong, nullable)
NSDateFormatter
*
dateFormatter
;
4
@property
(nonatomic, readwrite,
copy
, nullable)
NSDate
*
referenceDate
;
5
8
-(nonnull instancetype)initWithDateFormatter:(nullable
NSDateFormatter
*)aDateFormatter NS_DESIGNATED_INITIALIZER;
9
-(nullable instancetype)initWithCoder:(nonnull
NSCoder
*)decoder NS_DESIGNATED_INITIALIZER;
11
12
@end
NSNumberFormatter
CPTTimeFormatter::dateFormatter
NSDateFormatter * dateFormatter
The date formatter used to generate strings from time intervals.
Definition:
CPTTimeFormatter.h:3
-[NSObject copy]
id copy
CPTTimeFormatter
A number formatter that converts time intervals to dates. Useful for formatting labels on an axis....
Definition:
CPTTimeFormatter.h:2
CPTTimeFormatter::referenceDate
NSDate * referenceDate
Date from which time intervals are taken. If nil, the standard reference date (1 January 2001,...
Definition:
CPTTimeFormatter.h:4
NSCoder
Source
CPTTimeFormatter.h
Generated by
1.8.18