Holiday

final public class Holiday : CustomStringConvertible, CustomDebugStringConvertible, ExtendedEquatable

Immutable Model for Holiday

  • From

    Declaration

    Swift

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

    To

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public var description: String { get }
  • CustomDebugStringConvertible

    Declaration

    Swift

    public var debugDescription: String { get }