Second
public struct Second : NumericType, CustomStringConvertible
The Second is a number representing an Earth second.
-
The Second value
Declaration
Swift
public let value: Double -
Returns a Second struct initialized to contain the given value.
Declaration
Swift
public init(_ value: Double)Parameters
valueThe value for the new Second.
-
Transform the current Second value into Days.
Declaration
Swift
public var inDays: Day { get } -
Transform the current Second value into Hour.
Declaration
Swift
public var inHours: Hour { get } -
Transform the current Second value into Minute.
Declaration
Swift
public var inMinutes: Minute { get } -
Transform the current Second value into Julian Days (convenient for easily making operations with Julian Day fractions).
Declaration
Swift
public var inJulianDays: JulianDay { get } -
Returns a Second whose value is reduced to the 0..<60 range.
Declaration
Swift
public var reduced: Second { get } -
The standard description of the Second
Declaration
Swift
public var description: String { get }
View on GitHub
Install in Dash
Second Structure Reference