us-holidays
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -21,3 +21,3 @@ "use strict"; | ||
Holidays.newYearsDay = new Holiday("New Year's Day", function (year) { return new year_1.default(year).newYearsDay; }, 1871); | ||
Holidays.martinLutherKingJrDay = new Holiday('Martin Luther King Jr. Day', function (year) { return new year_1.default(year).martinLutherKingJrDay; }, 1986); | ||
Holidays.martinLutherKingJrDay = new Holiday('Martin Luther King Jr. Day', function (year) { return new year_1.default(year).martinLutherKingJrDay; }, 1998); | ||
Holidays.washingtonsBirthday = new Holiday("Washington's Birthday", function (year) { return new year_1.default(year).washingtonsBirthday; }, 1885); | ||
@@ -24,0 +24,0 @@ Holidays.goodFriday = new Holiday('Good Friday', function (year) { return new year_1.default(year).goodFriday; }, 1920); |
{ | ||
"name": "us-holidays", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,2 +9,4 @@ # United States Holidays | ||
Martin Luther King Jr. Day started in 1986. However, the stock market only started observing it in 1998. This library uses the 1998 date. | ||
## Install | ||
@@ -11,0 +13,0 @@ |
@@ -20,3 +20,3 @@ import Year from './year'; | ||
(year: number) => new Year(year).martinLutherKingJrDay, | ||
1986, | ||
1998, | ||
); | ||
@@ -23,0 +23,0 @@ public static washingtonsBirthday = new Holiday( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20802
38