TimeV
public struct TimeV: ScalarValue, AsJson
Represents a timestamp returned by the server.
Note
You can convert a timestamp to two different types:
HighPrecisionTime
: A timestamp with nanoseconds precision.Date
: A timestamp with seconds precision only.
-
Undocumented
Declaration
Swift
public struct TimeV: ScalarValue, AsJson
-
Undocumented
Declaration
Swift
public struct TimeV: ScalarValue, AsJson
-
Creates a new TimeV instance considering the
Date
provided.Note
The timestamp created will only have seconds precision. If you need more granularity, consider using aHighPrecisionTime
instance.Declaration
Swift
public init(date: Date)
-
Declaration
Swift
public static func == (left: TimeV, right: TimeV) -> Bool
Parameters
lhs
rhs