Holiday

final public class Holiday : CustomStringConvertible, CustomDebugStringConvertible, ExtendedEquatable

Immutable Model for Holiday

  • From

    Declaration

    Swift

    public internal(set) var from: Date?
  • to

    To

    Declaration

    Swift

    public internal(set) var to: Date?
  • Name

    Declaration

    Swift

    public internal(set) var name: String?
  • CustomStringConvertible

    Declaration

    Swift

    public var description: String { get }
  • CustomDebugStringConvertible

    Declaration

    Swift

    public var debugDescription: String { get }