summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2016-01-20 19:12:29 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2016-01-20 19:12:29 +0000
commitaeb7dbe5f66d68cfa1aa355eb5a8af9d9675edb5 (patch)
treecf7b75cd5626eeae36a7f242505a30238262cd89 /usr.bin
parentab8c9d4fda8460537bae9ca358dd6cdcf6fd499e (diff)
add a calendar for new zealand; from craig skinner
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/calendar/calendar.16
-rw-r--r--usr.bin/calendar/calendars/calendar.all3
-rw-r--r--usr.bin/calendar/calendars/calendar.holiday7
-rw-r--r--usr.bin/calendar/calendars/calendar.nz48
4 files changed, 56 insertions, 8 deletions
diff --git a/usr.bin/calendar/calendar.1 b/usr.bin/calendar/calendar.1
index d891b61672b..a270eeea0cf 100644
--- a/usr.bin/calendar/calendar.1
+++ b/usr.bin/calendar/calendar.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: calendar.1,v 1.41 2016/01/14 20:08:01 jmc Exp $
+.\" $OpenBSD: calendar.1,v 1.42 2016/01/20 19:12:28 jmc Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)calendar.1 8.1 (Berkeley) 6/29/93
.\"
-.Dd $Mdocdate: January 14 2016 $
+.Dd $Mdocdate: January 20 2016 $
.Dt CALENDAR 1
.Os
.Sh NAME
@@ -228,6 +228,8 @@ Jewish holidays (should be updated yearly by the local system administrator
so that roving holidays are set correctly for the current year).
.It Pa calendar.music
Musical events, births, and deaths (strongly oriented toward rock n' roll).
+.It Pa calendar.nz
+New Zealand calendar.
.It Pa calendar.openbsd
.Ox
related events.
diff --git a/usr.bin/calendar/calendars/calendar.all b/usr.bin/calendar/calendars/calendar.all
index 8a1fb3a7c00..9e759bf173f 100644
--- a/usr.bin/calendar/calendars/calendar.all
+++ b/usr.bin/calendar/calendars/calendar.all
@@ -1,7 +1,7 @@
/*
* International and national calendar files
*
- * $OpenBSD: calendar.all,v 1.6 2016/01/14 20:08:01 jmc Exp $
+ * $OpenBSD: calendar.all,v 1.7 2016/01/20 19:12:28 jmc Exp $
*/
#ifndef _calendar_all_
@@ -18,5 +18,6 @@
#include <calendar.space>
#include <calendar.canada>
#include <calendar.uk>
+#include <calendar.nz>
#endif /* !_calendar_all_ */
diff --git a/usr.bin/calendar/calendars/calendar.holiday b/usr.bin/calendar/calendars/calendar.holiday
index a9bd4418a9d..4f87ead36ef 100644
--- a/usr.bin/calendar/calendars/calendar.holiday
+++ b/usr.bin/calendar/calendars/calendar.holiday
@@ -1,7 +1,7 @@
/*
* Holiday
*
- * $OpenBSD: calendar.holiday,v 1.34 2016/01/14 20:08:01 jmc Exp $
+ * $OpenBSD: calendar.holiday,v 1.35 2016/01/20 19:12:28 jmc Exp $
*/
#ifndef _calendar_holiday_
@@ -44,7 +44,6 @@
02/02 Candlemas
02/04 Independence Commemoration Day in Sri Lanka
02/05 Constitution Day in Mexico
-02/06 New Zealand Day
02/07 Independence Day in Grenada
02/08 Preseren Day (Cultural Holiday) in Slovenia
02/09 St. Maron's Day in Lebanon
@@ -137,7 +136,7 @@
04/22 Oklahoma Day in Oklahoma
04/24 Victory Day in Togo
04/24* Pesach - First Day of Passover - Festival of Freedom
-04/25 Anzac Day in Australia, New Zealand, Tonga, Western Samoa
+04/25* ANZAC Day in Australia, New Zealand, and various other influenced places
04/25 Liberation Day in Italy
04/25 National Flag Day in Swaziland
04/26 Confederate Memorial Day in Florida & Georgia
@@ -391,7 +390,6 @@
10/23 Chulalongkron's Day in Thailand
10/24 Independence Day in Zambia
10/24 United Nations Day
-10/25 Labor Day in New Zealand
10/25 Taiwan Restoration Day in Taiwan
10/26 Agam Day in Nauru
10/26 Armed Forces Day in Benin, Rwanda
@@ -488,7 +486,6 @@
06/02 Corpus Christi in Paraguay
06/MonFirst Jefferson Davis's Birthday in Alabama & Mississippi (1st Monday)
06/MonFirst Jefferson Davis's Birthday in Florida, Georgia, & S. Carolina
-06/04 Queen's Birthday in New Zealand
06/06 His Majesty, Yang Di-Pertuan Agong's Birthday in Malaysia
06/11 Queen's Birthday
06/12 Peace with Bolivia in Paraguay
diff --git a/usr.bin/calendar/calendars/calendar.nz b/usr.bin/calendar/calendars/calendar.nz
new file mode 100644
index 00000000000..619b9808b3d
--- /dev/null
+++ b/usr.bin/calendar/calendars/calendar.nz
@@ -0,0 +1,48 @@
+/*
+ * New Zealand holiday
+ *
+ * $OpenBSD: calendar.nz,v 1.1 2016/01/20 19:12:28 jmc Exp $
+ */
+
+#ifndef _calendar_nz_
+#define _calendar_nz_
+
+01/01 New Year's Day
+01/02 Day after New Year's Day (public holiday)
+02/06* New Zealand/Waitangi Day (public holiday)
+02/14 Saint Valentine's Day
+04/01 April Fools' Day
+04/SunFirst Daylight Saving Time ends; clocks move back (first Sunday of April)
+05/SunSecond Mother's Day (2nd Sunday in May)
+06/MonFirst Queen's Birthday (public holiday, ski season begins)
+09/SunFirst Father's Day (1st Sunday of September)
+09/26 Dominion Day
+09/SunLast Daylight Saving Time starts; clocks move forward (last Sunday in September)
+10/MonFourth Labour Day (public holiday)
+10/31 Halloween
+11/05 Guy Fawkes' Night
+12/25 Christmas Day
+12/26 Boxing Day
+12/31 New Year's Eve
+
+/* Provincial anniversary days */
+01/22* Wellington Anniversary Day
+01/29* Auckland and Northland Anniversary Days
+02/01* Nelson Anniversary Day
+03/23* Otago Anniversary Day
+03/MonSecond New Plymouth Anniversary Day
+Easter+2 Southland Anniversary Day
+09/MonFourth South Canterbury Anniversary Day
+09/FriThird Hawke's Bay Anniversary Day
+11/01* Marlborough Anniversary Day
+11/30* Chatham Islands Anniversary Day
+12/01* Westland Anniversary Day
+12/16* South Canterbury Anniversary Day
+
+/* Seasonal days */
+03/20* Autumnal Equinox
+06/21* Winter Solstice
+09/22* Vernal Equinox
+12/21* Summer Solstice
+
+#endif /* !_calendar_nz_ */