Skip to content
This repository was archived by the owner on Jan 17, 2024. It is now read-only.

Calendar

hallee edited this page May 21, 2020 · 1 revision

Calendar

public struct Calendar: Encodable, Hashable

Inheritance

Decodable, Encodable, Hashable

Initializers

init(from:)

public init(from decoder: Decoder) throws

Properties

date

Year, month, and day components for the given market calendar day.

let date: DateComponents

open

The full date object for market open time. Precision only to the minute.

let open: Date

close

The full date object for market close time. Precision only to the minute.

let close: Date

timeZone

let timeZone: TimeZone?

locale

let locale: Locale

marketDayFormatter

let marketDayFormatter: DateFormatter

marketTimeFormatter

let marketTimeFormatter: DateFormatter

calendar

let calendar: Foundation.Calendar
Clone this wiki locally