Options
All
  • Public
  • Public/Protected
  • All
Menu

Botswana calendar

Holidays: From the [Botswana Public Holidays Act] (http://www.ilo.org/dyn/travail/docs/1766/Public%20Holidays%20Act.pdf) The days named in the Schedule shall be public holidays within Botswana: Provided that

  • when any of the said days fall on a Sunday the following Monday shall be observed as a public holiday;

  • if 2nd January, 1st October or Boxing Day falls on a Monday, the following Tuesday shall be observed as a public holiday;

  • when Botswana Day referred to in the Schedule falls on a Saturday, the next following Monday shall be observed as a public holiday.

  • Saturdays

  • Sundays

  • New Year's Day, January 1st

  • Good Friday

  • Easter Monday

  • Labour Day, May 1st

  • Ascension

  • Sir Seretse Khama Day, July 1st

  • Presidents' Day

  • Independence Day, September 30th

  • Botswana Day, October 1st

  • Christmas, December 25th

  • Boxing Day, December 26th

Hierarchy

Index

Constructors

constructor

Properties

Protected _impl

_impl: Impl

Static impl

impl: Impl

Accessors

isDisposed

  • get isDisposed(): boolean

Methods

addHoliday

  • addHoliday(d: Date): void
  • Parameters

    • d: Date

    Returns void

adjust

advance1

advance2

  • Parameters

    Returns Date

businessDaysBetween

  • businessDaysBetween(from: Date, to: Date, includeFirst?: boolean, includeLast?: boolean): Day
  • Parameters

    • from: Date
    • to: Date
    • Default value includeFirst: boolean = true
    • Default value includeLast: boolean = false

    Returns Day

dispose

  • dispose(): void
  • Returns void

empty

  • empty(): boolean
  • Returns boolean

endOfMonth

  • endOfMonth(d: Date): Date
  • Parameters

    • d: Date

    Returns Date

isBusinessDay

  • isBusinessDay(d: Date): boolean
  • Parameters

    • d: Date

    Returns boolean

isEndOfMonth

  • isEndOfMonth(d: Date): boolean
  • Parameters

    • d: Date

    Returns boolean

isHoliday

  • isHoliday(d: Date): boolean
  • Parameters

    • d: Date

    Returns boolean

isWeekend

name

  • name(): string
  • Returns string

removeHoliday

  • removeHoliday(d: Date): void
  • Parameters

    • d: Date

    Returns void

Static equal

  • Parameters

    Returns boolean

Static holidayList

  • holidayList(calendar: Calendar, from: Date, to: Date, includeWeekEnds?: boolean): Date[]
  • Parameters

    • calendar: Calendar
    • from: Date
    • to: Date
    • Default value includeWeekEnds: boolean = false

    Returns Date[]