TimeUnit
public enum TimeUnit: Int
Representation of standard units of time in seconds
-
Represents 1 second
Declaration
Swift
case second = 1
-
Represents 60 seconds
Declaration
Swift
case minute = 60
-
Represents 3600 seconds
Declaration
Swift
case hour = 3600
-
Represents 86400 seconds
Declaration
Swift
case day = 86400
-
Represents 604800 seconds
Declaration
Swift
case week = 604800