Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLDateTime Class Reference

Section Contents

Overview

A struct referenced in SendLocation for an absolute date

-initWithHour:minute:

Undocumented

Objective-C

- (instancetype)initWithHour:(UInt8)hour minute:(UInt8)minute;

Swift

init(hour: UInt8, minute: UInt8)

-initWithHour:minute:second:millisecond:

Undocumented

Objective-C

- (instancetype)initWithHour:(UInt8)hour minute:(UInt8)minute second:(UInt8)second millisecond:(UInt16)millisecond;

Swift

init(hour: UInt8, minute: UInt8, second: UInt8, millisecond: UInt16)

-initWithHour:minute:second:millisecond:day:month:year:

Undocumented

Objective-C

- (instancetype)initWithHour:(UInt8)hour minute:(UInt8)minute second:(UInt8)second millisecond:(UInt16)millisecond day:(UInt8)day month:(UInt8)month year:(UInt16)year;

Swift

init(hour: UInt8, minute: UInt8, second: UInt8, millisecond: UInt16, day: UInt8, month: UInt8, year: UInt16)

-initWithHour:minute:second:millisecond:day:month:year:timezoneMinuteOffset:timezoneHourOffset:

Undocumented

Objective-C

- (instancetype)initWithHour:(UInt8)hour minute:(UInt8)minute second:(UInt8)second millisecond:(UInt16)millisecond day:(UInt8)day month:(UInt8)month year:(UInt16)year timezoneMinuteOffset:(UInt8)timezoneMinuteOffset timezoneHourOffset:(int)timezoneHourOffset;

Swift

init(hour: UInt8, minute: UInt8, second: UInt8, millisecond: UInt16, day: UInt8, month: UInt8, year: UInt16, timezoneMinuteOffset: UInt8, timezoneHourOffset: Int32)

millisecond

Milliseconds part of time

Optional, Integer 0 - 999

Objective-C

@property (readwrite, copy, nonatomic) NSNumber<SDLInt> *_Nonnull millisecond;

Swift

@NSCopying var millisecond: NSNumber & SDLInt { get set }

second

Seconds part of time

Optional, Integer 0 - 59

Objective-C

@property (readwrite, copy, nonatomic) NSNumber<SDLInt> *_Nonnull second;

Swift

@NSCopying var second: NSNumber & SDLInt { get set }

minute

Minutes part of time

Optional, Integer 0 - 59

Objective-C

@property (readwrite, copy, nonatomic) NSNumber<SDLInt> *_Nonnull minute;

Swift

@NSCopying var minute: NSNumber & SDLInt { get set }

hour

Hour part of time

Optional, Integer 0 - 23

Objective-C

@property (readwrite, copy, nonatomic) NSNumber<SDLInt> *_Nonnull hour;

Swift

@NSCopying var hour: NSNumber & SDLInt { get set }

day

Day of the month

Optional, Integer 1 - 31

Objective-C

@property (readwrite, copy, nonatomic) NSNumber<SDLInt> *_Nonnull day;

Swift

@NSCopying var day: NSNumber & SDLInt { get set }

month

Month of the year

Optional, Integer 1 - 12

Objective-C

@property (readwrite, copy, nonatomic) NSNumber<SDLInt> *_Nonnull month;

Swift

@NSCopying var month: NSNumber & SDLInt { get set }

year

The year in YYYY format

Optional, Max Value 4095

Objective-C

@property (readwrite, copy, nonatomic) NSNumber<SDLInt> *_Nonnull year;

Swift

@NSCopying var year: NSNumber & SDLInt { get set }

timezoneMinuteOffset

Time zone offset in Min with regard to UTC

Optional, Integer 0 - 59

Objective-C

@property (readwrite, copy, nonatomic)
    NSNumber<SDLInt> *_Nonnull timezoneMinuteOffset;

Swift

@NSCopying var timezoneMinuteOffset: NSNumber & SDLInt { get set }

timezoneHourOffset

Time zone offset in Hours with regard to UTC

Optional, Integer -12 - 14

Objective-C

@property (readwrite, copy, nonatomic)
    NSNumber<SDLInt> *_Nonnull timezoneHourOffset;

Swift

@NSCopying var timezoneHourOffset: NSNumber & SDLInt { get set }
View on GitHub.com
Previous Section Next Section