Birthday

public struct Birthday : Equatable
extension Birthday: Encodable

Represents a user’s birthday date.

  • day

    The day in the month, 1-31

    Declaration

    Swift

    public let day: Int
  • The month, 1-12

    Declaration

    Swift

    public let month: Int
  • The year

    Declaration

    Swift

    public let year: Int
  • Declaration

    Swift

    public init(day: Int, month: Int, year: Int)
  • Declaration

    Swift

    public func encode(to coder: Encoder) throws