TimeZoneChange
final class TimeZoneChange : ModelA TimeZoneChange model says that at a specific UTC Date the ship will adopt a given timezone, specified by abbreviation and UTC offset.
The ‘current’ TimeZoneChange is the one with the a start date in the most recent past. The timezone indicated by the current TimeZoneChange is in force until the next (in Date order) TimeZoneChange becomes current.
- 
                  
                  DeclarationSwift static let schema: String
- 
                  
                  The TimeZoneChange’s ID, provisioned automatically. DeclarationSwift @ID var id: UUID?
- 
                  
                  The generated token value. DeclarationSwift @Field var startTime: Date
- 
                  
                  Abbreviation of the timezone, such as EST. DeclarationSwift @Field var timeZoneName: String
- 
                  
                  Foundation has a bunch of TimeZone Identifier strings for timezones, and they specify a timezone with more granularity than an EST-style abbreviation. For example, America/HalifaxandAmerica/Puerto_Ricoare both in the AST timezone, but Halifax observes DST and Puerto Rico doesn’t.DeclarationSwift @Field var timeZoneID: String
- 
                  
                  DeclarationSwift init()
- 
                  
                  Initializes a new TimeZoneChange. DeclarationSwift init(startTime: Date, name: String, id: String) throwsParametersstartTimeWhen the timezone goes into effect offsetGMT offset in hours. nameThe abbreviated name for the timezone, e.g. “EST”. idThe Apple identifier for the timezone, e.g. “America/New_York”. 
 View on GitHub
            View on GitHub
           TimeZoneChange Class Reference
      TimeZoneChange Class Reference