TimeUnit
public enum TimeUnit : Int, EncodableA unit of time supported by the Shortcuts app. See TimeSpanValue for usage.
- 
                  
                  A time unit representing a number of years. DeclarationSwift case years = 4
- 
                  
                  A time unit representing a number of months. DeclarationSwift case months = 8
- 
                  
                  A time unit representing a number of weeks. DeclarationSwift case weeks = 8192
- 
                  
                  A time unit representing a number of days. DeclarationSwift case days = 16
- 
                  
                  A time unit representing a number of hours. DeclarationSwift case hours = 32
- 
                  
                  A time unit representing a number of minutes. DeclarationSwift case minutes = 64
- 
                  
                  A time unit representing a number of seconds. DeclarationSwift case seconds = 128
 View on GitHub
View on GitHub TimeUnit Enumeration Reference
        TimeUnit Enumeration Reference