TimeStamp

public struct TimeStamp
extension TimeStamp: Codable

Time stamp object that can encoded to ISO8601 format and decoded from ISO8601, HTTP date format and UNIX epoch seconds

  • Undocumented

    Declaration

    Swift

    public var stringValue: String? { get }
  • Undocumented

    Declaration

    Swift

    public let dateValue: Date?
  • Undocumented

    Declaration

    Swift

    public init(_ date: Date)
  • Undocumented

    Declaration

    Swift

    public init(_ string: String)
  • Undocumented

    Declaration

    Swift

    public init(_ double: Double)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws