iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCICalendarUnitDateFormatter

@interface SCICalendarUnitDateFormatter
    : NSObject <ISCICalendarUnitDateFormatter>

Defines a default date formatter which is used by SCITradeChartAxisLabelFormatter

  • Creates a new instance of SCICalendarUnitDateFormatter class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLocale:(nonnull NSLocale *)locale
                               andTimeZone:(nonnull NSTimeZone *)timeZone;

    Swift

    init(locale: Locale, andTimeZone timeZone: TimeZone)

    Parameters

    locale

    The NSLocale to use by this formatter.

    timeZone

    The NSTimeZone to use by this formatter.