One Logo Pool Ball
Foundation · IOS API REFERENCE

ISO8601DateFormatter

class · iOS 10.0+ · SDK 27.1

class ISO8601DateFormatter

Members (8)

static · iOS 10.0+

string

TypeScript
static stringFromTimeZoneFormatOptions(date: globalThis.Date, timeZone: TimeZone, formatOptions?: ISO8601DateFormatter_Options): string
Swift declaration
class func string(from date: Date, timeZone: TimeZone, formatOptions: ISO8601DateFormatter.Options = []) -> String
method · iOS 10.0+

date

TypeScript
date(string: string): (globalThis.Date) | null
Swift declaration
func date(from string: String) -> Date?
init · iOS 10.0+

init

TypeScript
static init(): ISO8601DateFormatter
Swift declaration
init()
method · iOS 10.0+

string

TypeScript
stringFrom(date: globalThis.Date): string
Swift declaration
func string(from date: Date) -> String
get · iOS 10.0+

formatOptions

TypeScript
get formatOptions(): ISO8601DateFormatter_Options
Swift declaration
var formatOptions: ISO8601DateFormatter.Options { get set }
set · iOS 10.0+

formatOptions

TypeScript
set formatOptions(value: ISO8601DateFormatter_Options)
Swift declaration
var formatOptions: ISO8601DateFormatter.Options { get set }
get · iOS 10.0+

timeZone

TypeScript
get timeZone(): (TimeZone) | null
Swift declaration
var timeZone: TimeZone! { get set }
set · iOS 10.0+

timeZone

TypeScript
set timeZone(value: (TimeZone) | null)
Swift declaration
var timeZone: TimeZone! { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →