Timechange

public struct Timechange : Codable

Timechange

See also

TimeChange
  • New DST offset in seconds. Value will be null/empty if there is no DST for this location.

    1 Type: Integer (seconds) or null (JSON)
    

    Declaration

    Swift

    public let newdst: Int
  • Local time after transition, formatted as ISO 8601 (see [ISO8601]) time.

    1 Example: 2011-03-27T03:00:00
    2 Type: String/ISO8601 Timestamp
    

    Declaration

    Swift

    public let newlocaltime: Date?
  • New total offset to UTC in seconds.

    1 Type: Integer (seconds)
    

    Declaration

    Swift

    public let newoffset: Int?
  • New time zone offset to UTC in seconds if there is a time zone change for this place. Otherwise the value will be null/empty. Time zones changes happen only very rarely, so the field will be null/empty on most occasions.

    1 Type: Integer (seconds) or null (JSON)
    

    Declaration

    Swift

    public let newzone: Int?
  • Local time after transition, formatted as ISO 8601 (see [ISO8601]) time.

    1 Example: 2011-03-27T03:00:00
    2 Type: String/ISO8601 Timestamp
    

    Declaration

    Swift

    public let oldlocaltime: Date?
  • Time stamp of transition in UTC time, formatted as ISO 8601 (see [ISO8601]) time.

    1 Example: 2011-03-27T01:00:00
    2 Type: String/ISO8601 Timestamp
    

    Declaration

    Swift

    public let utctime: Date?
  • Verbose representation of the time stamps.

    1 Type: VerboseTimeChangeType
    

    Declaration

    Swift

    public let verbose: VerboseTimeChangeType?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws