Date

extension Date
extension Date: ActionParameterEncodable
  • A string representation of this date using ISO 8601 format.

    Declaration

    Swift

    public var iso8601: String { get }
  • Return the tomorrow date

    Declaration

    Swift

    public static var tomorrow: Date { get }
  • Return yesterday date.

    Declaration

    Swift

    public static var yesterday: Date { get }
  • Return two day ago date.

    Declaration

    Swift

    public static var twoDaysAgo: Date { get }
  • Return the first day of this month.

    Declaration

    Swift

    public static var firstDayOfMonth: Date { get }
  • Declaration

    Swift

    public func encodeForActionParameter() -> Any
  • Declaration

    Swift

    public func metadata() -> Any?