From 07df887b1ccdf686b77bb92ef3c9291abbc328bc Mon Sep 17 00:00:00 2001 From: sonali-webmavens Date: Sun, 14 Apr 2024 14:08:12 +0530 Subject: [PATCH] Add indian holidays --- src/Countries/India.php | 1199 +++++++++++++++++ ...olidays_with_data_set___1970____1970_.snap | 78 ++ ...olidays_with_data_set___1971____1971_.snap | 78 ++ ...olidays_with_data_set___1972____1972_.snap | 78 ++ ...olidays_with_data_set___1973____1973_.snap | 78 ++ ...olidays_with_data_set___1974____1974_.snap | 82 ++ ...olidays_with_data_set___1975____1975_.snap | 78 ++ ...olidays_with_data_set___1976____1976_.snap | 78 ++ ...olidays_with_data_set___1977____1977_.snap | 82 ++ ...olidays_with_data_set___1978____1978_.snap | 78 ++ ...olidays_with_data_set___1979____1979_.snap | 78 ++ ...olidays_with_data_set___1980____1980_.snap | 78 ++ ...olidays_with_data_set___1981____1981_.snap | 78 ++ ...olidays_with_data_set___1982____1982_.snap | 82 ++ ...olidays_with_data_set___1983____1983_.snap | 78 ++ ...olidays_with_data_set___1984____1984_.snap | 78 ++ ...olidays_with_data_set___1985____1985_.snap | 78 ++ ...olidays_with_data_set___1986____1986_.snap | 78 ++ ...olidays_with_data_set___1987____1987_.snap | 78 ++ ...olidays_with_data_set___1988____1988_.snap | 78 ++ ...olidays_with_data_set___1989____1989_.snap | 78 ++ ...olidays_with_data_set___1990____1990_.snap | 78 ++ ...olidays_with_data_set___1991____1991_.snap | 78 ++ ...olidays_with_data_set___1992____1992_.snap | 78 ++ ...olidays_with_data_set___1993____1993_.snap | 78 ++ ...olidays_with_data_set___1994____1994_.snap | 78 ++ ...olidays_with_data_set___1995____1995_.snap | 78 ++ ...olidays_with_data_set___1996____1996_.snap | 78 ++ ...olidays_with_data_set___1997____1997_.snap | 78 ++ ...olidays_with_data_set___1998____1998_.snap | 78 ++ ...olidays_with_data_set___1999____1999_.snap | 78 ++ ...olidays_with_data_set___2000____2000_.snap | 82 ++ ...olidays_with_data_set___2001____2001_.snap | 78 ++ ...olidays_with_data_set___2002____2002_.snap | 78 ++ ...olidays_with_data_set___2003____2003_.snap | 78 ++ ...olidays_with_data_set___2004____2004_.snap | 78 ++ ...olidays_with_data_set___2005____2005_.snap | 78 ++ ...olidays_with_data_set___2006____2006_.snap | 78 ++ ...olidays_with_data_set___2007____2007_.snap | 78 ++ ...olidays_with_data_set___2008____2008_.snap | 78 ++ ...olidays_with_data_set___2009____2009_.snap | 82 ++ ...olidays_with_data_set___2010____2010_.snap | 78 ++ ...olidays_with_data_set___2011____2011_.snap | 78 ++ ...olidays_with_data_set___2012____2012_.snap | 78 ++ ...olidays_with_data_set___2013____2013_.snap | 78 ++ ...olidays_with_data_set___2014____2014_.snap | 78 ++ ...olidays_with_data_set___2015____2015_.snap | 78 ++ ...olidays_with_data_set___2016____2016_.snap | 78 ++ ...olidays_with_data_set___2017____2017_.snap | 78 ++ ...olidays_with_data_set___2018____2018_.snap | 82 ++ ...olidays_with_data_set___2019____2019_.snap | 78 ++ ...olidays_with_data_set___2020____2020_.snap | 78 ++ ...olidays_with_data_set___2021____2021_.snap | 78 ++ ...olidays_with_data_set___2022____2022_.snap | 78 ++ ...olidays_with_data_set___2023____2023_.snap | 78 ++ ...olidays_with_data_set___2024____2024_.snap | 78 ++ ...olidays_with_data_set___2025____2025_.snap | 78 ++ ...olidays_with_data_set___2026____2026_.snap | 78 ++ ...olidays_with_data_set___2027____2027_.snap | 78 ++ ...olidays_with_data_set___2028____2028_.snap | 78 ++ ...olidays_with_data_set___2029____2029_.snap | 78 ++ ...olidays_with_data_set___2030____2030_.snap | 78 ++ ...olidays_with_data_set___2031____2031_.snap | 78 ++ ...olidays_with_data_set___2032____2032_.snap | 78 ++ ...olidays_with_data_set___2033____2033_.snap | 82 ++ ...olidays_with_data_set___2034____2034_.snap | 78 ++ ...olidays_with_data_set___2035____2035_.snap | 78 ++ ...olidays_with_data_set___2036____2036_.snap | 78 ++ ...olidays_with_data_set___2037____2037_.snap | 78 ++ tests/Countries/IndiaTest.php | 16 + 70 files changed, 6547 insertions(+) create mode 100644 src/Countries/India.php create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1970____1970_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1971____1971_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1972____1972_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1973____1973_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1974____1974_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1975____1975_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1976____1976_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1977____1977_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1978____1978_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1979____1979_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1980____1980_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1981____1981_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1982____1982_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1983____1983_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1984____1984_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1985____1985_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1986____1986_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1987____1987_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1988____1988_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1989____1989_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1990____1990_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1991____1991_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1992____1992_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1993____1993_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1994____1994_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1995____1995_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1996____1996_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1997____1997_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1998____1998_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1999____1999_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2000____2000_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2001____2001_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2002____2002_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2003____2003_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2004____2004_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2005____2005_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2006____2006_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2007____2007_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2008____2008_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2009____2009_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2010____2010_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2011____2011_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2012____2012_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2013____2013_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2014____2014_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2015____2015_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2016____2016_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2017____2017_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2018____2018_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2019____2019_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2020____2020_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2021____2021_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2022____2022_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2023____2023_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2024____2024_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2025____2025_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2026____2026_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2027____2027_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2028____2028_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2029____2029_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2030____2030_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2031____2031_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2032____2032_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2033____2033_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2034____2034_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2035____2035_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2036____2036_.snap create mode 100644 tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2037____2037_.snap create mode 100644 tests/Countries/IndiaTest.php diff --git a/src/Countries/India.php b/src/Countries/India.php new file mode 100644 index 00000000..09bcd4a4 --- /dev/null +++ b/src/Countries/India.php @@ -0,0 +1,1199 @@ + '03-23', + 1971 => '03-12', + 1972 => '02-29', + 1973 => '03-19', + 1974 => '03-08', + 1975 => '03-27', + 1976 => '03-16', + 1977 => '03-06', + 1978 => '03-25', + 1979 => '03-14', + 1980 => '03-02', + 1981 => '03-21', + 1982 => '03-10', + 1983 => '03-29', + 1984 => '03-17', + 1985 => '03-07', + 1986 => '03-26', + 1987 => '03-16', + 1988 => '03-04', + 1989 => '03-22', + 1990 => '03-11', + 1991 => '03-01', + 1992 => '03-19', + 1993 => '03-08', + 1994 => '03-27', + 1995 => '03-17', + 1996 => '03-05', + 1997 => '03-24', + 1998 => '03-13', + 1999 => '03-02', + 2000 => '03-20', + 2001 => '03-10', + 2002 => '03-29', + 2003 => '03-18', + 2004 => '03-07', + 2005 => '03-26', + 2006 => '03-15', + 2007 => '03-04', + 2008 => '03-22', + 2009 => '03-11', + 2010 => '03-01', + 2011 => '03-20', + 2012 => '03-08', + 2013 => '03-27', + 2014 => '03-17', + 2015 => '03-06', + 2016 => '03-24', + 2017 => '03-13', + 2018 => '03-02', + 2019 => '03-21', + 2020 => '03-10', + 2021 => '03-29', + 2022 => '03-18', + 2023 => '03-08', + 2024 => '03-25', + 2025 => '03-14', + 2026 => '03-04', + 2027 => '03-22', + 2028 => '03-11', + 2029 => '03-01', + 2030 => '03-20', + 2031 => '03-09', + 2032 => '03-27', + 2033 => '03-16', + 2034 => '03-05', + 2035 => '03-24', + 2036 => '03-12', + 2037 => '03-02', + ]; + + public const goodFridayHolidays = [ + 1970 => '03-27', + 1971 => '04-09', + 1972 => '03-31', + 1973 => '04-20', + 1974 => '04-12', + 1975 => '03-28', + 1976 => '04-16', + 1977 => '04-08', + 1978 => '03-24', + 1979 => '04-13', + 1980 => '04-04', + 1981 => '04-17', + 1982 => '04-09', + 1983 => '04-01', + 1984 => '04-20', + 1985 => '04-05', + 1986 => '03-28', + 1987 => '04-17', + 1988 => '04-01', + 1989 => '03-24', + 1990 => '04-13', + 1991 => '03-29', + 1992 => '04-17', + 1993 => '04-09', + 1994 => '04-01', + 1995 => '04-14', + 1996 => '04-05', + 1997 => '03-28', + 1998 => '04-10', + 1999 => '04-02', + 2000 => '04-21', + 2001 => '04-13', + 2002 => '03-29', + 2003 => '04-18', + 2004 => '04-09', + 2005 => '03-25', + 2006 => '04-14', + 2007 => '04-06', + 2008 => '03-21', + 2009 => '04-10', + 2010 => '04-02', + 2011 => '04-22', + 2012 => '04-06', + 2013 => '03-29', + 2014 => '04-18', + 2015 => '04-03', + 2016 => '03-25', + 2017 => '04-14', + 2018 => '03-30', + 2019 => '04-19', + 2020 => '04-10', + 2021 => '04-02', + 2022 => '04-15', + 2023 => '04-07', + 2024 => '03-29', + 2025 => '04-18', + 2026 => '04-03', + 2027 => '03-26', + 2028 => '04-14', + 2029 => '03-30', + 2030 => '04-19', + 2031 => '04-11', + 2032 => '03-26', + 2033 => '04-15', + 2034 => '04-07', + 2035 => '03-23', + 2036 => '04-11', + 2037 => '04-03', + ]; + + public const ramzanIdHolidays = [ + 1970 => '11-30', + 1971 => '11-20', + 1972 => '11-08', + 1973 => '10-28', + 1974 => '10-18', + 1975 => '10-07', + 1976 => '09-25', + 1977 => '09-15', + 1978 => '09-04', + 1979 => '08-25', + 1980 => '08-13', + 1981 => '08-02', + 1982 => '07-23', + 1983 => '07-12', + 1984 => '06-30', + 1985 => '06-20', + 1986 => '06-09', + 1987 => '05-30', + 1988 => '05-18', + 1989 => '05-07', + 1990 => '04-27', + 1991 => '04-16', + 1992 => '04-04', + 1993 => '03-25', + 1994 => '03-14', + 1995 => '03-03', + 1996 => '02-21', + 1997 => '02-09', + 1998 => '01-30', + 1999 => '01-19', + 2000 => [ + '01-08', + '12-28', + ], + 2001 => '12-17', + 2002 => '12-06', + 2003 => '11-26', + 2004 => '11-14', + 2005 => '11-04', + 2006 => '10-24', + 2007 => '10-13', + 2008 => '10-02', + 2009 => '09-21', + 2010 => '09-10', + 2011 => '08-31', + 2012 => '08-20', + 2013 => '08-09', + 2014 => '07-29', + 2015 => '07-19', + 2016 => '07-06', + 2017 => '06-26', + 2018 => [ + '06-15', + '06-16' + ], + 2019 => '06-05', + 2020 => '05-25', + 2021 => '05-14', + 2022 => '05-03', + 2023 => '04-22', + 2024 => '04-11', + 2025 => '03-31', + 2026 => '03-21', + 2027 => '03-10', + 2028 => '02-27', + 2029 => '02-15', + 2030 => '02-05', + 2031 => '01-25', + 2032 => '01-15', + 2033 => [ + '01-03', + '12-24', + ], + 2034 => '12-13', + 2035 => '12-02', + 2036 => '11-20', + 2037 => '11-09', + ]; + + public const ramanavamiHolidays = [ + 1970 => '04-15', + 1971 => '04-03', + 1972 => '03-23', + 1973 => '04-11', + 1974 => '04-01', + 1975 => '04-20', + 1976 => '04-08', + 1977 => '03-29', + 1978 => '04-16', + 1979 => '04-05', + 1980 => '03-24', + 1981 => '04-12', + 1982 => '04-02', + 1983 => '04-21', + 1984 => '04-10', + 1985 => '03-30', + 1986 => '04-18', + 1987 => '04-07', + 1988 => '03-26', + 1989 => '04-14', + 1990 => '04-03', + 1991 => '03-24', + 1992 => '04-11', + 1993 => '04-01', + 1994 => '04-20', + 1995 => '04-09', + 1996 => '03-28', + 1997 => '04-16', + 1998 => '04-05', + 1999 => '03-25', + 2000 => '04-12', + 2001 => '04-02', + 2002 => '04-21', + 2003 => '04-11', + 2004 => '03-30', + 2005 => '04-18', + 2006 => '04-06', + 2007 => '03-26', + 2008 => '04-13', + 2009 => '04-03', + 2010 => '03-24', + 2011 => '04-12', + 2012 => '04-01', + 2013 => '04-19', + 2014 => '04-08', + 2015 => '03-28', + 2016 => '04-15', + 2017 => '04-04', + 2018 => '03-25', + 2019 => '04-13', + 2020 => '04-02', + 2021 => '04-21', + 2022 => '04-10', + 2023 => '03-30', + 2024 => '04-17', + 2025 => '04-06', + 2026 => '03-26', + 2027 => '04-15', + 2028 => '04-03', + 2029 => '04-22', + 2030 => '04-12', + 2031 => '04-01', + 2032 => '04-19', + 2033 => '04-07', + 2034 => '03-28', + 2035 => '04-16', + 2036 => '04-05', + 2037 => '03-25', + ]; + public const mahavirJayantiHolidays = [ + 1970 => '04-19', + 1971 => '04-08', + 1972 => '03-27', + 1973 => '04-15', + 1974 => '04-05', + 1975 => '04-24', + 1976 => '04-12', + 1977 => '04-02', + 1978 => '04-21', + 1979 => '04-10', + 1980 => '03-29', + 1981 => '04-17', + 1982 => '04-06', + 1983 => '04-25', + 1984 => '04-14', + 1985 => '04-03', + 1986 => '04-22', + 1987 => '04-12', + 1988 => '03-31', + 1989 => '04-18', + 1990 => '04-07', + 1991 => '03-28', + 1992 => '04-15', + 1993 => '04-05', + 1994 => '04-24', + 1995 => '04-13', + 1996 => '04-01', + 1997 => '04-20', + 1998 => '04-09', + 1999 => '03-29', + 2000 => '04-16', + 2001 => '04-06', + 2002 => '04-25', + 2003 => '04-15', + 2004 => '04-03', + 2005 => '04-22', + 2006 => '04-11', + 2007 => '03-31', + 2008 => '04-18', + 2009 => '04-07', + 2010 => '04-28', + 2011 => '04-16', + 2012 => '04-05', + 2013 => '04-24', + 2014 => '04-13', + 2015 => '04-02', + 2016 => '04-20', + 2017 => '04-09', + 2018 => '03-29', + 2019 => '04-17', + 2020 => '04-06', + 2021 => '04-25', + 2022 => '04-14', + 2023 => '04-04', + 2024 => '04-21', + 2025 => '04-10', + 2026 => '03-31', + 2027 => '04-19', + 2028 => '04-07', + 2029 => '04-26', + 2030 => '04-16', + 2031 => '04-05', + 2032 => '04-23', + 2033 => '04-12', + 2034 => '04-01', + 2035 => '04-20', + 2036 => '04-08', + 2037 => '03-29', + ]; + + public const buddhaPurnimaHolidays = [ + 1970 => '05-21', + 1971 => '05-10', + 1972 => '05-28', + 1973 => '05-17', + 1974 => '05-06', + 1975 => '05-25', + 1976 => '05-13', + 1977 => '05-03', + 1978 => '05-22', + 1979 => '05-12', + 1980 => '04-30', + 1981 => '05-18', + 1982 => '05-07', + 1983 => '05-26', + 1984 => '05-15', + 1985 => '05-04', + 1986 => '05-23', + 1987 => '05-13', + 1988 => '05-01', + 1989 => '05-20', + 1990 => '05-09', + 1991 => '05-28', + 1992 => '05-16', + 1993 => '05-06', + 1994 => '05-25', + 1995 => '05-14', + 1996 => '05-03', + 1997 => '05-22', + 1998 => '05-11', + 1999 => '04-30', + 2000 => '05-18', + 2001 => '05-07', + 2002 => '05-26', + 2003 => '05-16', + 2004 => '05-04', + 2005 => '05-23', + 2006 => '05-13', + 2007 => '05-02', + 2008 => '05-20', + 2009 => '05-08', + 2010 => '05-27', + 2011 => '05-17', + 2012 => '05-06', + 2013 => '05-25', + 2014 => '05-14', + 2015 => '05-04', + 2016 => '05-21', + 2017 => '05-10', + 2018 => '04-30', + 2019 => '05-18', + 2020 => '05-07', + 2021 => '05-26', + 2022 => '05-16', + 2023 => '05-05', + 2024 => '05-23', + 2025 => '05-12', + 2026 => '05-01', + 2027 => '05-20', + 2028 => '05-08', + 2029 => '05-27', + 2030 => '05-17', + 2031 => '05-07', + 2032 => '05-25', + 2033 => '05-14', + 2034 => '05-03', + 2035 => '05-22', + 2036 => '05-10', + 2037 => '04-29', + ]; + public const bakridHolidays = [ + 1970 => '02-17', + 1971 => '02-06', + 1972 => '01-27', + 1973 => '01-15', + 1974 => [ + '01-04', + '12-25' + ], + 1975 => '12-14', + 1976 => '12-02', + 1977 => '11-22', + 1978 => '11-11', + 1979 => '11-01', + 1980 => '10-20', + 1981 => '10-09', + 1982 => '09-29', + 1983 => '09-18', + 1984 => '09-06', + 1985 => '08-27', + 1986 => '08-16', + 1987 => '08-06', + 1988 => '07-25', + 1989 => '07-14', + 1990 => '07-04', + 1991 => '06-23', + 1992 => '06-11', + 1993 => '06-01', + 1994 => '05-21', + 1995 => '05-10', + 1996 => '04-29', + 1997 => '04-18', + 1998 => '04-08', + 1999 => '03-28', + 2000 => '03-16', + 2001 => '03-06', + 2002 => '02-23', + 2003 => '02-12', + 2004 => '02-02', + 2005 => '01-21', + 2006 => '01-11', + 2007 => '12-20', + 2008 => '12-09', + 2009 => '11-28', + 2010 => '11-17', + 2011 => '11-07', + 2012 => '10-27', + 2013 => '10-16', + 2014 => '10-06', + 2015 => '09-25', + 2016 => '09-13', + 2017 => '09-02', + 2018 => '08-22', + 2019 => '08-12', + 2020 => '08-01', + 2021 => '07-21', + 2022 => '07-10', + 2023 => '06-29', + 2024 => '06-17', + 2025 => '06-07', + 2026 => '05-28', + 2027 => '05-17', + 2028 => '05-06', + 2029 => '04-25', + 2030 => '04-14', + 2031 => '04-03', + 2032 => '03-22', + 2033 => '03-12', + 2034 => '03-02', + 2035 => '02-19', + 2036 => '02-08', + 2037 => '01-27', + ]; + + public const muharramHolidays = [ + 1970 => '03-18', + 1971 => '03-08', + 1972 => '02-25', + 1973 => '02-13', + 1974 => '02-03', + 1975 => '01-23', + 1976 => '01-12', + 1977 => [ + '01-01', + '12-21' + ], + 1978 => '12-11', + 1979 => '11-30', + 1980 => '11-18', + 1981 => '11-08', + 1982 => '10-28', + 1983 => '10-17', + 1984 => '10-06', + 1985 => '09-25', + 1986 => '09-15', + 1987 => '09-04', + 1988 => '08-23', + 1989 => '08-13', + 1990 => '08-02', + 1991 => '07-22', + 1992 => '07-11', + 1993 => '06-30', + 1994 => '06-19', + 1995 => '06-09', + 1996 => '05-28', + 1997 => '05-18', + 1998 => '05-07', + 1999 => '04-26', + 2000 => '04-15', + 2001 => '04-04', + 2002 => '03-24', + 2003 => '03-14', + 2004 => '03-02', + 2005 => '02-19', + 2006 => '02-09', + 2007 => '01-30', + 2008 => '01-19', + 2009 => [ + '01-07', + '12-27' + ], + 2010 => '12-17', + 2011 => '12-06', + 2012 => '11-25', + 2013 => '11-14', + 2014 => '11-04', + 2015 => '10-24', + 2016 => '10-12', + 2017 => '10-01', + 2018 => '09-21', + 2019 => '09-10', + 2020 => '08-30', + 2021 => '08-20', + 2022 => '08-09', + 2023 => '07-29', + 2024 => '07-17', + 2025 => '07-06', + 2026 => '06-26', + 2027 => '06-16', + 2028 => '06-04', + 2029 => '05-25', + 2030 => '05-14', + 2031 => '05-03', + 2032 => '04-21', + 2033 => '04-11', + 2034 => '03-31', + 2035 => '03-21', + 2036 => '03-09', + 2037 => '02-26', + ]; + + public const rakshabandhanHolidays = [ + 1970 => '08-17', + 1971 => '08-06', + 1972 => '08-24', + 1973 => '08-13', + 1974 => '08-03', + 1975 => '08-21', + 1976 => '08-09', + 1977 => '08-28', + 1978 => '08-18', + 1979 => '08-08', + 1980 => '08-26', + 1981 => '08-15', + 1982 => '08-04', + 1983 => '08-23', + 1984 => '08-11', + 1985 => '08-30', + 1986 => '08-19', + 1987 => '08-09', + 1988 => '08-27', + 1989 => '08-17', + 1990 => '08-06', + 1991 => '08-25', + 1992 => '08-13', + 1993 => '08-02', + 1994 => '08-21', + 1995 => '08-10', + 1996 => '08-28', + 1997 => '08-18', + 1998 => '08-07', + 1999 => '08-26', + 2000 => '08-15', + 2001 => '08-04', + 2002 => '08-22', + 2003 => '08-12', + 2004 => '08-29', + 2005 => '08-19', + 2006 => '08-09', + 2007 => '08-28', + 2008 => '08-16', + 2009 => '08-05', + 2010 => '08-24', + 2011 => '08-13', + 2012 => '08-02', + 2013 => '08-20', + 2014 => '08-10', + 2015 => '08-29', + 2016 => '08-18', + 2017 => '08-07', + 2018 => '08-26', + 2019 => '08-15', + 2020 => '08-03', + 2021 => '08-22', + 2022 => '08-11', + 2023 => '08-30', + 2024 => '08-19', + 2025 => '08-09', + 2026 => '08-28', + 2027 => '08-17', + 2028 => '08-05', + 2029 => '08-23', + 2030 => '08-13', + 2031 => '08-02', + 2032 => '08-20', + 2033 => '08-10', + 2034 => '08-29', + 2035 => '08-18', + 2036 => '08-06', + 2037 => '08-25', + ]; + + public const janmashtamiHolidays = [ + 1970 => '08-24', + 1971 => '08-13', + 1972 => '09-01', + 1973 => '08-21', + 1974 => '08-11', + 1975 => '08-30', + 1976 => '08-18', + 1977 => '09-06', + 1978 => '08-26', + 1979 => '08-15', + 1980 => '09-02', + 1981 => '08-23', + 1982 => '08-12', + 1983 => '08-31', + 1984 => '08-20', + 1985 => '09-07', + 1986 => '08-27', + 1987 => '08-16', + 1988 => '09-03', + 1989 => '08-24', + 1990 => '08-14', + 1991 => '09-02', + 1992 => '08-21', + 1993 => '08-11', + 1994 => '08-29', + 1995 => '08-18', + 1996 => '09-05', + 1997 => '08-25', + 1998 => '08-15', + 1999 => '09-03', + 2000 => '08-23', + 2001 => '08-12', + 2002 => '08-31', + 2003 => '08-20', + 2004 => '09-07', + 2005 => '08-27', + 2006 => '08-16', + 2007 => '09-04', + 2008 => '08-24', + 2009 => '08-14', + 2010 => '09-02', + 2011 => '08-22', + 2012 => '08-10', + 2013 => '08-28', + 2014 => '08-18', + 2015 => '09-05', + 2016 => '08-25', + 2017 => '08-15', + 2018 => '09-03', + 2019 => '08-24', + 2020 => '08-12', + 2021 => '08-30', + 2022 => '08-19', + 2023 => '09-07', + 2024 => '08-26', + 2025 => '08-16', + 2026 => '09-04', + 2027 => '08-25', + 2028 => '08-13', + 2029 => '09-01', + 2030 => '08-21', + 2031 => '08-10', + 2032 => '08-28', + 2033 => '08-17', + 2034 => '09-06', + 2035 => '08-26', + 2036 => '08-15', + 2037 => '09-03', + ]; + public const miladHolidays = [ + 1970 => '05-19', + 1971 => '05-09', + 1972 => '04-27', + 1973 => '04-16', + 1974 => '04-06', + 1975 => '03-26', + 1976 => '03-14', + 1977 => '03-04', + 1978 => '02-21', + 1979 => '02-11', + 1980 => '01-31', + 1981 => '01-19', + 1982 => [ + '01-09', + '12-29' + ], + 1983 => '12-18', + 1984 => '12-07', + 1985 => '11-26', + 1986 => '11-16', + 1987 => '11-05', + 1988 => '10-24', + 1989 => '10-14', + 1990 => '10-03', + 1991 => '09-22', + 1992 => '09-11', + 1993 => '08-31', + 1994 => '08-20', + 1995 => '08-10', + 1996 => '07-29', + 1997 => '07-19', + 1998 => '07-08', + 1999 => '06-27', + 2000 => '06-16', + 2001 => '06-05', + 2002 => '05-25', + 2003 => '05-15', + 2004 => '05-03', + 2005 => '04-22', + 2006 => '04-11', + 2007 => '04-01', + 2008 => '03-21', + 2009 => '03-09', + 2010 => '02-27', + 2011 => '02-16', + 2012 => '02-05', + 2013 => '01-25', + 2014 => '01-14', + 2015 => '01-04', + 2016 => '12-13', + 2017 => '12-02', + 2018 => '11-21', + 2019 => '11-10', + 2020 => '10-30', + 2021 => '10-19', + 2022 => '10-09', + 2023 => '09-28', + 2024 => '09-16', + 2025 => '09-05', + 2026 => '08-27', + 2027 => '08-16', + 2028 => '08-04', + 2029 => '07-25', + 2030 => '07-14', + 2031 => '07-03', + 2032 => '06-22', + 2033 => '06-11', + 2034 => '05-31', + 2035 => '05-21', + 2036 => '05-09', + 2037 => '04-29', + ]; + + public const dussehraHolidays = [ + 1970 => '10-10', + 1971 => '09-30', + 1972 => '10-17', + 1973 => '10-06', + 1974 => '10-25', + 1975 => '10-14', + 1976 => '10-02', + 1977 => '10-21', + 1978 => '10-11', + 1979 => '10-01', + 1980 => '10-19', + 1981 => '10-08', + 1982 => '10-27', + 1983 => '10-16', + 1984 => '10-04', + 1985 => '10-22', + 1986 => '10-12', + 1987 => '10-02', + 1988 => '10-20', + 1989 => '10-10', + 1990 => '09-29', + 1991 => '10-17', + 1992 => '10-06', + 1993 => '10-24', + 1994 => '10-13', + 1995 => '10-03', + 1996 => '10-21', + 1997 => '10-11', + 1998 => '10-01', + 1999 => '10-19', + 2000 => '10-07', + 2001 => '10-26', + 2002 => '10-15', + 2003 => '10-05', + 2004 => '10-22', + 2005 => '10-12', + 2006 => '10-02', + 2007 => '10-21', + 2008 => '10-09', + 2009 => '09-28', + 2010 => '10-17', + 2011 => '10-06', + 2012 => '10-24', + 2013 => '10-13', + 2014 => '10-03', + 2015 => '10-22', + 2016 => '10-11', + 2017 => '09-30', + 2018 => '10-19', + 2019 => '10-08', + 2020 => '10-25', + 2021 => '10-15', + 2022 => '10-05', + 2023 => '10-24', + 2024 => '10-12', + 2025 => '10-02', + 2026 => '10-20', + 2027 => '10-09', + 2028 => '09-27', + 2029 => '10-16', + 2030 => '10-06', + 2031 => '10-25', + 2032 => '10-14', + 2033 => '10-03', + 2034 => '10-22', + 2035 => '10-11', + 2036 => '09-29', + 2037 => '10-18', + ]; + public const diwaliHolidays = [ + 1970 => '10-29', + 1971 => '10-18', + 1972 => '11-05', + 1973 => '10-25', + 1974 => '11-13', + 1975 => '11-03', + 1976 => '10-22', + 1977 => '11-10', + 1978 => '10-31', + 1979 => '10-20', + 1980 => '11-07', + 1981 => '10-27', + 1982 => '11-15', + 1983 => '11-04', + 1984 => '10-24', + 1985 => '11-12', + 1986 => '11-01', + 1987 => '10-22', + 1988 => '11-09', + 1989 => '10-29', + 1990 => '10-18', + 1991 => '11-05', + 1992 => '10-25', + 1993 => '11-13', + 1994 => '11-03', + 1995 => '10-23', + 1996 => '11-10', + 1997 => '10-30', + 1998 => '10-19', + 1999 => '11-07', + 2000 => '10-26', + 2001 => '11-14', + 2002 => '11-04', + 2003 => '10-25', + 2004 => '11-12', + 2005 => '11-01', + 2006 => '10-21', + 2007 => '11-09', + 2008 => '10-28', + 2009 => '10-17', + 2010 => '11-05', + 2011 => '10-26', + 2012 => '11-13', + 2013 => '11-03', + 2014 => '10-23', + 2015 => '11-11', + 2016 => '10-30', + 2017 => '10-19', + 2018 => '11-07', + 2019 => '10-27', + 2020 => '11-14', + 2021 => '11-04', + 2022 => '10-24', + 2023 => '11-12', + 2024 => '10-31', + 2025 => '10-20', + 2026 => '11-08', + 2027 => '10-29', + 2028 => '10-17', + 2029 => '11-05', + 2030 => '10-26', + 2031 => '11-14', + 2032 => '11-02', + 2033 => '10-22', + 2034 => '11-10', + 2035 => '10-30', + 2036 => '10-18', + 2037 => '11-07', + ]; + + public const bhaiDujHolidays = [ + 1970 => '10-31', + 1971 => '10-21', + 1972 => '11-07', + 1973 => '10-27', + 1974 => '11-15', + 1975 => '11-05', + 1976 => '10-24', + 1977 => '11-12', + 1978 => '11-02', + 1979 => '10-22', + 1980 => '11-09', + 1981 => '10-29', + 1982 => '11-17', + 1983 => '11-06', + 1984 => '10-25', + 1985 => '11-14', + 1986 => '11-03', + 1987 => '10-24', + 1988 => '11-11', + 1989 => '10-31', + 1990 => '10-20', + 1991 => '11-08', + 1992 => '10-27', + 1993 => '11-15', + 1994 => '11-04', + 1995 => '10-25', + 1996 => '11-12', + 1997 => '11-02', + 1998 => '10-22', + 1999 => '11-09', + 2000 => '10-28', + 2001 => '11-16', + 2002 => '11-06', + 2003 => '10-26', + 2004 => '11-14', + 2005 => '11-03', + 2006 => '10-23', + 2007 => '11-11', + 2008 => '10-30', + 2009 => '10-19', + 2010 => '11-07', + 2011 => '10-28', + 2012 => '11-15', + 2013 => '11-05', + 2014 => '10-25', + 2015 => '11-13', + 2016 => '11-01', + 2017 => '10-21', + 2018 => '11-09', + 2019 => '10-29', + 2020 => '11-16', + 2021 => '11-06', + 2022 => '10-26', + 2023 => '11-15', + 2024 => '11-03', + 2025 => '10-23', + 2026 => '11-11', + 2027 => '10-31', + 2028 => '10-19', + 2029 => '11-07', + 2030 => '10-28', + 2031 => '11-16', + 2032 => '11-04', + 2033 => '10-25', + 2034 => '11-12', + 2035 => '11-01', + 2036 => '10-21', + 2037 => '11-08', + ]; + public const guruNanakHolidays = [ + 1970 => '11-13', + 1971 => '11-02', + 1972 => '11-20', + 1973 => '11-10', + 1974 => '11-29', + 1975 => '11-18', + 1976 => '11-06', + 1977 => '11-25', + 1978 => '11-14', + 1979 => '11-04', + 1980 => '11-22', + 1981 => '11-11', + 1982 => '11-30', + 1983 => '11-20', + 1984 => '11-08', + 1985 => '11-27', + 1986 => '11-16', + 1987 => '11-05', + 1988 => '11-23', + 1989 => '11-13', + 1990 => '11-02', + 1991 => '11-21', + 1992 => '11-10', + 1993 => '11-29', + 1994 => '11-18', + 1995 => '11-07', + 1996 => '11-25', + 1997 => '11-14', + 1998 => '11-04', + 1999 => '11-23', + 2000 => '11-11', + 2001 => '11-30', + 2002 => '11-19', + 2003 => '11-08', + 2004 => '11-26', + 2005 => '11-15', + 2006 => '11-05', + 2007 => '11-24', + 2008 => '11-13', + 2009 => '11-02', + 2010 => '11-21', + 2011 => '11-10', + 2012 => '11-28', + 2013 => '11-17', + 2014 => '11-06', + 2015 => '11-25', + 2016 => '11-14', + 2017 => '11-04', + 2018 => '11-23', + 2019 => '11-12', + 2020 => '11-30', + 2021 => '11-19', + 2022 => '11-08', + 2023 => '11-27', + 2024 => '11-15', + 2025 => '11-05', + 2026 => '11-24', + 2027 => '11-14', + 2028 => '11-02', + 2029 => '11-21', + 2030 => '11-10', + 2031 => '11-28', + 2032 => '11-17', + 2033 => '11-06', + 2034 => '11-25', + 2035 => '11-15', + 2036 => '11-03', + 2037 => '11-22', + ]; + + + public function countryCode(): string + { + return 'in'; + } + + protected function allHolidays(int $year): array + { + return array_merge([ + 'Republic Day' => '01-26', + 'Independence Day' => '08-15', + 'Mahatma Gandhi Jayanti' => '10-02', + 'Christmas' => '12-25', + ], $this->variableHolidays($year)); + } + + /** @return array */ + public function variableHolidays(int $year): array + { + $holidays = [ + 'Holi' => self::holiHolidays[$year], + 'Good Friday' => self::goodFridayHolidays[$year], + 'Ramzan Id\/Eid-ul-Fitar 1' => self::ramzanIdHolidays[$year], + 'Ramzan Id\/Eid-ul-Fitar 2' => '', + 'Rama Navami' => self::ramanavamiHolidays[$year], + 'Mahavir Jayanti' => self::mahavirJayantiHolidays[$year], + 'Buddha Purnima/Vesak' => self::buddhaPurnimaHolidays[$year], + 'Bakrid/Eid ul-Adha 1' => self::bakridHolidays[$year], + 'Bakrid/Eid ul-Adha 2' => '', + 'Muharram/Ashura 1' => self::muharramHolidays[$year], + 'Muharram/Ashura 2' => '', + 'Raksha Bandhan' => self::rakshabandhanHolidays[$year], + 'Janmashtami' => self::janmashtamiHolidays[$year], + 'Milad un-Nabi/Id-e-Milad 1' => self::miladHolidays[$year], + 'Milad un-Nabi/Id-e-Milad 2' => '', + 'Dussehra' => self::dussehraHolidays[$year], + 'Diwali/Deepavali' => self::diwaliHolidays[$year], + 'Bhai Dooj' => self::bhaiDujHolidays[$year], + 'Guru Nanak Jayanti' => self::guruNanakHolidays[$year], + ]; + + $ramzan = self::ramzanIdHolidays[$year]; + if (is_array($ramzan)) { + foreach ($ramzan as $key => $date) { + if($key == 0){ + $holidays['Ramzan Id\/Eid-ul-Fitar 1'] = $date; + } + else{ + $holidays['Ramzan Id\/Eid-ul-Fitar 2'] = $date; + } + } + } else { + unset($holidays['Ramzan Id\/Eid-ul-Fitar 2']); + } + + $milad = self::miladHolidays[$year]; + if (is_array($milad)) { + foreach ($milad as $key => $date) { + if($key == 0){ + $holidays['Milad un-Nabi/Id-e-Milad 1'] = $date; + } + else{ + $holidays['Milad un-Nabi/Id-e-Milad 2'] = $date; + } + } + } else { + unset($holidays['Milad un-Nabi/Id-e-Milad 2']); + } + + $muhrram = self::muharramHolidays[$year]; + if (is_array($muhrram)) { + foreach ($muhrram as $key => $date) { + if($key == 0){ + $holidays['Muharram/Ashura 1'] = $date; + } + else{ + $holidays['Muharram/Ashura 2'] = $date; + } + } + } else { + unset($holidays['Muharram/Ashura 2']); + } + + $bakrid = self::bakridHolidays[$year]; + if (is_array($bakrid)) { + foreach ($bakrid as $key => $date) { + if($key == 0){ + $holidays['Bakrid/Eid ul-Adha 1'] = $date; + } + else{ + $holidays['Bakrid/Eid ul-Adha 2'] = $date; + } + } + } else { + unset($holidays['Bakrid/Eid ul-Adha 2']); + } + + return $holidays; + } +} \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1970____1970_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1970____1970_.snap new file mode 100644 index 00000000..d92de948 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1970____1970_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1970-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1970-02-17" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1970-03-18" + }, + { + "name": "Holi", + "date": "1970-03-23" + }, + { + "name": "Good Friday", + "date": "1970-03-27" + }, + { + "name": "Rama Navami", + "date": "1970-04-15" + }, + { + "name": "Mahavir Jayanti", + "date": "1970-04-19" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1970-05-19" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1970-05-21" + }, + { + "name": "Independence Day", + "date": "1970-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1970-08-17" + }, + { + "name": "Janmashtami", + "date": "1970-08-24" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1970-10-02" + }, + { + "name": "Dussehra", + "date": "1970-10-10" + }, + { + "name": "Diwali\/Deepavali", + "date": "1970-10-29" + }, + { + "name": "Bhai Dooj", + "date": "1970-10-31" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1970-11-13" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1970-11-30" + }, + { + "name": "Christmas", + "date": "1970-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1971____1971_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1971____1971_.snap new file mode 100644 index 00000000..536f7d1a --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1971____1971_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1971-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1971-02-06" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1971-03-08" + }, + { + "name": "Holi", + "date": "1971-03-12" + }, + { + "name": "Rama Navami", + "date": "1971-04-03" + }, + { + "name": "Mahavir Jayanti", + "date": "1971-04-08" + }, + { + "name": "Good Friday", + "date": "1971-04-09" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1971-05-09" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1971-05-10" + }, + { + "name": "Raksha Bandhan", + "date": "1971-08-06" + }, + { + "name": "Janmashtami", + "date": "1971-08-13" + }, + { + "name": "Independence Day", + "date": "1971-08-15" + }, + { + "name": "Dussehra", + "date": "1971-09-30" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1971-10-02" + }, + { + "name": "Diwali\/Deepavali", + "date": "1971-10-18" + }, + { + "name": "Bhai Dooj", + "date": "1971-10-21" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1971-11-02" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1971-11-20" + }, + { + "name": "Christmas", + "date": "1971-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1972____1972_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1972____1972_.snap new file mode 100644 index 00000000..137849e3 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1972____1972_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1972-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1972-01-27" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1972-02-25" + }, + { + "name": "Holi", + "date": "1972-02-29" + }, + { + "name": "Rama Navami", + "date": "1972-03-23" + }, + { + "name": "Mahavir Jayanti", + "date": "1972-03-27" + }, + { + "name": "Good Friday", + "date": "1972-03-31" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1972-04-27" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1972-05-28" + }, + { + "name": "Independence Day", + "date": "1972-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1972-08-24" + }, + { + "name": "Janmashtami", + "date": "1972-09-01" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1972-10-02" + }, + { + "name": "Dussehra", + "date": "1972-10-17" + }, + { + "name": "Diwali\/Deepavali", + "date": "1972-11-05" + }, + { + "name": "Bhai Dooj", + "date": "1972-11-07" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1972-11-08" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1972-11-20" + }, + { + "name": "Christmas", + "date": "1972-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1973____1973_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1973____1973_.snap new file mode 100644 index 00000000..1d5d4ff8 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1973____1973_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1973-01-15" + }, + { + "name": "Republic Day", + "date": "1973-01-26" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1973-02-13" + }, + { + "name": "Holi", + "date": "1973-03-19" + }, + { + "name": "Rama Navami", + "date": "1973-04-11" + }, + { + "name": "Mahavir Jayanti", + "date": "1973-04-15" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1973-04-16" + }, + { + "name": "Good Friday", + "date": "1973-04-20" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1973-05-17" + }, + { + "name": "Raksha Bandhan", + "date": "1973-08-13" + }, + { + "name": "Independence Day", + "date": "1973-08-15" + }, + { + "name": "Janmashtami", + "date": "1973-08-21" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1973-10-02" + }, + { + "name": "Dussehra", + "date": "1973-10-06" + }, + { + "name": "Diwali\/Deepavali", + "date": "1973-10-25" + }, + { + "name": "Bhai Dooj", + "date": "1973-10-27" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1973-10-28" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1973-11-10" + }, + { + "name": "Christmas", + "date": "1973-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1974____1974_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1974____1974_.snap new file mode 100644 index 00000000..32ee76ac --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1974____1974_.snap @@ -0,0 +1,82 @@ +[ + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1974-01-04" + }, + { + "name": "Republic Day", + "date": "1974-01-26" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1974-02-03" + }, + { + "name": "Holi", + "date": "1974-03-08" + }, + { + "name": "Rama Navami", + "date": "1974-04-01" + }, + { + "name": "Mahavir Jayanti", + "date": "1974-04-05" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1974-04-06" + }, + { + "name": "Good Friday", + "date": "1974-04-12" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1974-05-06" + }, + { + "name": "Raksha Bandhan", + "date": "1974-08-03" + }, + { + "name": "Janmashtami", + "date": "1974-08-11" + }, + { + "name": "Independence Day", + "date": "1974-08-15" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1974-10-02" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1974-10-18" + }, + { + "name": "Dussehra", + "date": "1974-10-25" + }, + { + "name": "Diwali\/Deepavali", + "date": "1974-11-13" + }, + { + "name": "Bhai Dooj", + "date": "1974-11-15" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1974-11-29" + }, + { + "name": "Christmas", + "date": "1974-12-25" + }, + { + "name": "Bakrid\/Eid ul-Adha 2", + "date": "1974-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1975____1975_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1975____1975_.snap new file mode 100644 index 00000000..fc6d91ba --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1975____1975_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Muharram\/Ashura 1", + "date": "1975-01-23" + }, + { + "name": "Republic Day", + "date": "1975-01-26" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1975-03-26" + }, + { + "name": "Holi", + "date": "1975-03-27" + }, + { + "name": "Good Friday", + "date": "1975-03-28" + }, + { + "name": "Rama Navami", + "date": "1975-04-20" + }, + { + "name": "Mahavir Jayanti", + "date": "1975-04-24" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1975-05-25" + }, + { + "name": "Independence Day", + "date": "1975-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1975-08-21" + }, + { + "name": "Janmashtami", + "date": "1975-08-30" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1975-10-02" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1975-10-07" + }, + { + "name": "Dussehra", + "date": "1975-10-14" + }, + { + "name": "Diwali\/Deepavali", + "date": "1975-11-03" + }, + { + "name": "Bhai Dooj", + "date": "1975-11-05" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1975-11-18" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1975-12-14" + }, + { + "name": "Christmas", + "date": "1975-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1976____1976_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1976____1976_.snap new file mode 100644 index 00000000..860cf27b --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1976____1976_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Muharram\/Ashura 1", + "date": "1976-01-12" + }, + { + "name": "Republic Day", + "date": "1976-01-26" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1976-03-14" + }, + { + "name": "Holi", + "date": "1976-03-16" + }, + { + "name": "Rama Navami", + "date": "1976-04-08" + }, + { + "name": "Mahavir Jayanti", + "date": "1976-04-12" + }, + { + "name": "Good Friday", + "date": "1976-04-16" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1976-05-13" + }, + { + "name": "Raksha Bandhan", + "date": "1976-08-09" + }, + { + "name": "Independence Day", + "date": "1976-08-15" + }, + { + "name": "Janmashtami", + "date": "1976-08-18" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1976-09-25" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1976-10-02" + }, + { + "name": "Dussehra", + "date": "1976-10-02" + }, + { + "name": "Diwali\/Deepavali", + "date": "1976-10-22" + }, + { + "name": "Bhai Dooj", + "date": "1976-10-24" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1976-11-06" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1976-12-02" + }, + { + "name": "Christmas", + "date": "1976-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1977____1977_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1977____1977_.snap new file mode 100644 index 00000000..f421c804 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1977____1977_.snap @@ -0,0 +1,82 @@ +[ + { + "name": "Muharram\/Ashura 1", + "date": "1977-01-01" + }, + { + "name": "Republic Day", + "date": "1977-01-26" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1977-03-04" + }, + { + "name": "Holi", + "date": "1977-03-06" + }, + { + "name": "Rama Navami", + "date": "1977-03-29" + }, + { + "name": "Mahavir Jayanti", + "date": "1977-04-02" + }, + { + "name": "Good Friday", + "date": "1977-04-08" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1977-05-03" + }, + { + "name": "Independence Day", + "date": "1977-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1977-08-28" + }, + { + "name": "Janmashtami", + "date": "1977-09-06" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1977-09-15" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1977-10-02" + }, + { + "name": "Dussehra", + "date": "1977-10-21" + }, + { + "name": "Diwali\/Deepavali", + "date": "1977-11-10" + }, + { + "name": "Bhai Dooj", + "date": "1977-11-12" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1977-11-22" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1977-11-25" + }, + { + "name": "Muharram\/Ashura 2", + "date": "1977-12-21" + }, + { + "name": "Christmas", + "date": "1977-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1978____1978_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1978____1978_.snap new file mode 100644 index 00000000..139d4d3d --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1978____1978_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1978-01-26" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1978-02-21" + }, + { + "name": "Good Friday", + "date": "1978-03-24" + }, + { + "name": "Holi", + "date": "1978-03-25" + }, + { + "name": "Rama Navami", + "date": "1978-04-16" + }, + { + "name": "Mahavir Jayanti", + "date": "1978-04-21" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1978-05-22" + }, + { + "name": "Independence Day", + "date": "1978-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1978-08-18" + }, + { + "name": "Janmashtami", + "date": "1978-08-26" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1978-09-04" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1978-10-02" + }, + { + "name": "Dussehra", + "date": "1978-10-11" + }, + { + "name": "Diwali\/Deepavali", + "date": "1978-10-31" + }, + { + "name": "Bhai Dooj", + "date": "1978-11-02" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1978-11-11" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1978-11-14" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1978-12-11" + }, + { + "name": "Christmas", + "date": "1978-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1979____1979_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1979____1979_.snap new file mode 100644 index 00000000..9c6b9d00 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1979____1979_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1979-01-26" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1979-02-11" + }, + { + "name": "Holi", + "date": "1979-03-14" + }, + { + "name": "Rama Navami", + "date": "1979-04-05" + }, + { + "name": "Mahavir Jayanti", + "date": "1979-04-10" + }, + { + "name": "Good Friday", + "date": "1979-04-13" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1979-05-12" + }, + { + "name": "Raksha Bandhan", + "date": "1979-08-08" + }, + { + "name": "Independence Day", + "date": "1979-08-15" + }, + { + "name": "Janmashtami", + "date": "1979-08-15" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1979-08-25" + }, + { + "name": "Dussehra", + "date": "1979-10-01" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1979-10-02" + }, + { + "name": "Diwali\/Deepavali", + "date": "1979-10-20" + }, + { + "name": "Bhai Dooj", + "date": "1979-10-22" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1979-11-01" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1979-11-04" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1979-11-30" + }, + { + "name": "Christmas", + "date": "1979-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1980____1980_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1980____1980_.snap new file mode 100644 index 00000000..b7a63bf8 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1980____1980_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1980-01-26" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1980-01-31" + }, + { + "name": "Holi", + "date": "1980-03-02" + }, + { + "name": "Rama Navami", + "date": "1980-03-24" + }, + { + "name": "Mahavir Jayanti", + "date": "1980-03-29" + }, + { + "name": "Good Friday", + "date": "1980-04-04" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1980-04-30" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1980-08-13" + }, + { + "name": "Independence Day", + "date": "1980-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1980-08-26" + }, + { + "name": "Janmashtami", + "date": "1980-09-02" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1980-10-02" + }, + { + "name": "Dussehra", + "date": "1980-10-19" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1980-10-20" + }, + { + "name": "Diwali\/Deepavali", + "date": "1980-11-07" + }, + { + "name": "Bhai Dooj", + "date": "1980-11-09" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1980-11-18" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1980-11-22" + }, + { + "name": "Christmas", + "date": "1980-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1981____1981_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1981____1981_.snap new file mode 100644 index 00000000..67bc23e4 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1981____1981_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1981-01-19" + }, + { + "name": "Republic Day", + "date": "1981-01-26" + }, + { + "name": "Holi", + "date": "1981-03-21" + }, + { + "name": "Rama Navami", + "date": "1981-04-12" + }, + { + "name": "Good Friday", + "date": "1981-04-17" + }, + { + "name": "Mahavir Jayanti", + "date": "1981-04-17" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1981-05-18" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1981-08-02" + }, + { + "name": "Independence Day", + "date": "1981-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1981-08-15" + }, + { + "name": "Janmashtami", + "date": "1981-08-23" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1981-10-02" + }, + { + "name": "Dussehra", + "date": "1981-10-08" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1981-10-09" + }, + { + "name": "Diwali\/Deepavali", + "date": "1981-10-27" + }, + { + "name": "Bhai Dooj", + "date": "1981-10-29" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1981-11-08" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1981-11-11" + }, + { + "name": "Christmas", + "date": "1981-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1982____1982_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1982____1982_.snap new file mode 100644 index 00000000..6427c175 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1982____1982_.snap @@ -0,0 +1,82 @@ +[ + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1982-01-09" + }, + { + "name": "Republic Day", + "date": "1982-01-26" + }, + { + "name": "Holi", + "date": "1982-03-10" + }, + { + "name": "Rama Navami", + "date": "1982-04-02" + }, + { + "name": "Mahavir Jayanti", + "date": "1982-04-06" + }, + { + "name": "Good Friday", + "date": "1982-04-09" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1982-05-07" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1982-07-23" + }, + { + "name": "Raksha Bandhan", + "date": "1982-08-04" + }, + { + "name": "Janmashtami", + "date": "1982-08-12" + }, + { + "name": "Independence Day", + "date": "1982-08-15" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1982-09-29" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1982-10-02" + }, + { + "name": "Dussehra", + "date": "1982-10-27" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1982-10-28" + }, + { + "name": "Diwali\/Deepavali", + "date": "1982-11-15" + }, + { + "name": "Bhai Dooj", + "date": "1982-11-17" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1982-11-30" + }, + { + "name": "Christmas", + "date": "1982-12-25" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 2", + "date": "1982-12-29" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1983____1983_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1983____1983_.snap new file mode 100644 index 00000000..da265676 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1983____1983_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1983-01-26" + }, + { + "name": "Holi", + "date": "1983-03-29" + }, + { + "name": "Good Friday", + "date": "1983-04-01" + }, + { + "name": "Rama Navami", + "date": "1983-04-21" + }, + { + "name": "Mahavir Jayanti", + "date": "1983-04-25" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1983-05-26" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1983-07-12" + }, + { + "name": "Independence Day", + "date": "1983-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1983-08-23" + }, + { + "name": "Janmashtami", + "date": "1983-08-31" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1983-09-18" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1983-10-02" + }, + { + "name": "Dussehra", + "date": "1983-10-16" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1983-10-17" + }, + { + "name": "Diwali\/Deepavali", + "date": "1983-11-04" + }, + { + "name": "Bhai Dooj", + "date": "1983-11-06" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1983-11-20" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1983-12-18" + }, + { + "name": "Christmas", + "date": "1983-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1984____1984_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1984____1984_.snap new file mode 100644 index 00000000..d53c2898 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1984____1984_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1984-01-26" + }, + { + "name": "Holi", + "date": "1984-03-17" + }, + { + "name": "Rama Navami", + "date": "1984-04-10" + }, + { + "name": "Mahavir Jayanti", + "date": "1984-04-14" + }, + { + "name": "Good Friday", + "date": "1984-04-20" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1984-05-15" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1984-06-30" + }, + { + "name": "Raksha Bandhan", + "date": "1984-08-11" + }, + { + "name": "Independence Day", + "date": "1984-08-15" + }, + { + "name": "Janmashtami", + "date": "1984-08-20" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1984-09-06" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1984-10-02" + }, + { + "name": "Dussehra", + "date": "1984-10-04" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1984-10-06" + }, + { + "name": "Diwali\/Deepavali", + "date": "1984-10-24" + }, + { + "name": "Bhai Dooj", + "date": "1984-10-25" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1984-11-08" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1984-12-07" + }, + { + "name": "Christmas", + "date": "1984-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1985____1985_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1985____1985_.snap new file mode 100644 index 00000000..53924d2b --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1985____1985_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1985-01-26" + }, + { + "name": "Holi", + "date": "1985-03-07" + }, + { + "name": "Rama Navami", + "date": "1985-03-30" + }, + { + "name": "Mahavir Jayanti", + "date": "1985-04-03" + }, + { + "name": "Good Friday", + "date": "1985-04-05" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1985-05-04" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1985-06-20" + }, + { + "name": "Independence Day", + "date": "1985-08-15" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1985-08-27" + }, + { + "name": "Raksha Bandhan", + "date": "1985-08-30" + }, + { + "name": "Janmashtami", + "date": "1985-09-07" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1985-09-25" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1985-10-02" + }, + { + "name": "Dussehra", + "date": "1985-10-22" + }, + { + "name": "Diwali\/Deepavali", + "date": "1985-11-12" + }, + { + "name": "Bhai Dooj", + "date": "1985-11-14" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1985-11-26" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1985-11-27" + }, + { + "name": "Christmas", + "date": "1985-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1986____1986_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1986____1986_.snap new file mode 100644 index 00000000..84a68ea8 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1986____1986_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1986-01-26" + }, + { + "name": "Holi", + "date": "1986-03-26" + }, + { + "name": "Good Friday", + "date": "1986-03-28" + }, + { + "name": "Rama Navami", + "date": "1986-04-18" + }, + { + "name": "Mahavir Jayanti", + "date": "1986-04-22" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1986-05-23" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1986-06-09" + }, + { + "name": "Independence Day", + "date": "1986-08-15" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1986-08-16" + }, + { + "name": "Raksha Bandhan", + "date": "1986-08-19" + }, + { + "name": "Janmashtami", + "date": "1986-08-27" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1986-09-15" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1986-10-02" + }, + { + "name": "Dussehra", + "date": "1986-10-12" + }, + { + "name": "Diwali\/Deepavali", + "date": "1986-11-01" + }, + { + "name": "Bhai Dooj", + "date": "1986-11-03" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1986-11-16" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1986-11-16" + }, + { + "name": "Christmas", + "date": "1986-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1987____1987_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1987____1987_.snap new file mode 100644 index 00000000..7190384c --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1987____1987_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1987-01-26" + }, + { + "name": "Holi", + "date": "1987-03-16" + }, + { + "name": "Rama Navami", + "date": "1987-04-07" + }, + { + "name": "Mahavir Jayanti", + "date": "1987-04-12" + }, + { + "name": "Good Friday", + "date": "1987-04-17" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1987-05-13" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1987-05-30" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1987-08-06" + }, + { + "name": "Raksha Bandhan", + "date": "1987-08-09" + }, + { + "name": "Independence Day", + "date": "1987-08-15" + }, + { + "name": "Janmashtami", + "date": "1987-08-16" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1987-09-04" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1987-10-02" + }, + { + "name": "Dussehra", + "date": "1987-10-02" + }, + { + "name": "Diwali\/Deepavali", + "date": "1987-10-22" + }, + { + "name": "Bhai Dooj", + "date": "1987-10-24" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1987-11-05" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1987-11-05" + }, + { + "name": "Christmas", + "date": "1987-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1988____1988_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1988____1988_.snap new file mode 100644 index 00000000..704c7830 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1988____1988_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1988-01-26" + }, + { + "name": "Holi", + "date": "1988-03-04" + }, + { + "name": "Rama Navami", + "date": "1988-03-26" + }, + { + "name": "Mahavir Jayanti", + "date": "1988-03-31" + }, + { + "name": "Good Friday", + "date": "1988-04-01" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1988-05-01" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1988-05-18" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1988-07-25" + }, + { + "name": "Independence Day", + "date": "1988-08-15" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1988-08-23" + }, + { + "name": "Raksha Bandhan", + "date": "1988-08-27" + }, + { + "name": "Janmashtami", + "date": "1988-09-03" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1988-10-02" + }, + { + "name": "Dussehra", + "date": "1988-10-20" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1988-10-24" + }, + { + "name": "Diwali\/Deepavali", + "date": "1988-11-09" + }, + { + "name": "Bhai Dooj", + "date": "1988-11-11" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1988-11-23" + }, + { + "name": "Christmas", + "date": "1988-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1989____1989_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1989____1989_.snap new file mode 100644 index 00000000..bc191c7e --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1989____1989_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1989-01-26" + }, + { + "name": "Holi", + "date": "1989-03-22" + }, + { + "name": "Good Friday", + "date": "1989-03-24" + }, + { + "name": "Rama Navami", + "date": "1989-04-14" + }, + { + "name": "Mahavir Jayanti", + "date": "1989-04-18" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1989-05-07" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1989-05-20" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1989-07-14" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1989-08-13" + }, + { + "name": "Independence Day", + "date": "1989-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1989-08-17" + }, + { + "name": "Janmashtami", + "date": "1989-08-24" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1989-10-02" + }, + { + "name": "Dussehra", + "date": "1989-10-10" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1989-10-14" + }, + { + "name": "Diwali\/Deepavali", + "date": "1989-10-29" + }, + { + "name": "Bhai Dooj", + "date": "1989-10-31" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1989-11-13" + }, + { + "name": "Christmas", + "date": "1989-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1990____1990_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1990____1990_.snap new file mode 100644 index 00000000..b8083adf --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1990____1990_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1990-01-26" + }, + { + "name": "Holi", + "date": "1990-03-11" + }, + { + "name": "Rama Navami", + "date": "1990-04-03" + }, + { + "name": "Mahavir Jayanti", + "date": "1990-04-07" + }, + { + "name": "Good Friday", + "date": "1990-04-13" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1990-04-27" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1990-05-09" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1990-07-04" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1990-08-02" + }, + { + "name": "Raksha Bandhan", + "date": "1990-08-06" + }, + { + "name": "Janmashtami", + "date": "1990-08-14" + }, + { + "name": "Independence Day", + "date": "1990-08-15" + }, + { + "name": "Dussehra", + "date": "1990-09-29" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1990-10-02" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1990-10-03" + }, + { + "name": "Diwali\/Deepavali", + "date": "1990-10-18" + }, + { + "name": "Bhai Dooj", + "date": "1990-10-20" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1990-11-02" + }, + { + "name": "Christmas", + "date": "1990-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1991____1991_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1991____1991_.snap new file mode 100644 index 00000000..864c0ad7 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1991____1991_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1991-01-26" + }, + { + "name": "Holi", + "date": "1991-03-01" + }, + { + "name": "Rama Navami", + "date": "1991-03-24" + }, + { + "name": "Mahavir Jayanti", + "date": "1991-03-28" + }, + { + "name": "Good Friday", + "date": "1991-03-29" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1991-04-16" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1991-05-28" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1991-06-23" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1991-07-22" + }, + { + "name": "Independence Day", + "date": "1991-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1991-08-25" + }, + { + "name": "Janmashtami", + "date": "1991-09-02" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1991-09-22" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1991-10-02" + }, + { + "name": "Dussehra", + "date": "1991-10-17" + }, + { + "name": "Diwali\/Deepavali", + "date": "1991-11-05" + }, + { + "name": "Bhai Dooj", + "date": "1991-11-08" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1991-11-21" + }, + { + "name": "Christmas", + "date": "1991-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1992____1992_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1992____1992_.snap new file mode 100644 index 00000000..1d55a91c --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1992____1992_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1992-01-26" + }, + { + "name": "Holi", + "date": "1992-03-19" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1992-04-04" + }, + { + "name": "Rama Navami", + "date": "1992-04-11" + }, + { + "name": "Mahavir Jayanti", + "date": "1992-04-15" + }, + { + "name": "Good Friday", + "date": "1992-04-17" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1992-05-16" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1992-06-11" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1992-07-11" + }, + { + "name": "Raksha Bandhan", + "date": "1992-08-13" + }, + { + "name": "Independence Day", + "date": "1992-08-15" + }, + { + "name": "Janmashtami", + "date": "1992-08-21" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1992-09-11" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1992-10-02" + }, + { + "name": "Dussehra", + "date": "1992-10-06" + }, + { + "name": "Diwali\/Deepavali", + "date": "1992-10-25" + }, + { + "name": "Bhai Dooj", + "date": "1992-10-27" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1992-11-10" + }, + { + "name": "Christmas", + "date": "1992-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1993____1993_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1993____1993_.snap new file mode 100644 index 00000000..1ca7d945 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1993____1993_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1993-01-26" + }, + { + "name": "Holi", + "date": "1993-03-08" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1993-03-25" + }, + { + "name": "Rama Navami", + "date": "1993-04-01" + }, + { + "name": "Mahavir Jayanti", + "date": "1993-04-05" + }, + { + "name": "Good Friday", + "date": "1993-04-09" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1993-05-06" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1993-06-01" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1993-06-30" + }, + { + "name": "Raksha Bandhan", + "date": "1993-08-02" + }, + { + "name": "Janmashtami", + "date": "1993-08-11" + }, + { + "name": "Independence Day", + "date": "1993-08-15" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1993-08-31" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1993-10-02" + }, + { + "name": "Dussehra", + "date": "1993-10-24" + }, + { + "name": "Diwali\/Deepavali", + "date": "1993-11-13" + }, + { + "name": "Bhai Dooj", + "date": "1993-11-15" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1993-11-29" + }, + { + "name": "Christmas", + "date": "1993-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1994____1994_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1994____1994_.snap new file mode 100644 index 00000000..083e76ba --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1994____1994_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1994-01-26" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1994-03-14" + }, + { + "name": "Holi", + "date": "1994-03-27" + }, + { + "name": "Good Friday", + "date": "1994-04-01" + }, + { + "name": "Rama Navami", + "date": "1994-04-20" + }, + { + "name": "Mahavir Jayanti", + "date": "1994-04-24" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1994-05-21" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1994-05-25" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1994-06-19" + }, + { + "name": "Independence Day", + "date": "1994-08-15" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1994-08-20" + }, + { + "name": "Raksha Bandhan", + "date": "1994-08-21" + }, + { + "name": "Janmashtami", + "date": "1994-08-29" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1994-10-02" + }, + { + "name": "Dussehra", + "date": "1994-10-13" + }, + { + "name": "Diwali\/Deepavali", + "date": "1994-11-03" + }, + { + "name": "Bhai Dooj", + "date": "1994-11-04" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1994-11-18" + }, + { + "name": "Christmas", + "date": "1994-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1995____1995_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1995____1995_.snap new file mode 100644 index 00000000..56617100 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1995____1995_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1995-01-26" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1995-03-03" + }, + { + "name": "Holi", + "date": "1995-03-17" + }, + { + "name": "Rama Navami", + "date": "1995-04-09" + }, + { + "name": "Mahavir Jayanti", + "date": "1995-04-13" + }, + { + "name": "Good Friday", + "date": "1995-04-14" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1995-05-10" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1995-05-14" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1995-06-09" + }, + { + "name": "Raksha Bandhan", + "date": "1995-08-10" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1995-08-10" + }, + { + "name": "Independence Day", + "date": "1995-08-15" + }, + { + "name": "Janmashtami", + "date": "1995-08-18" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1995-10-02" + }, + { + "name": "Dussehra", + "date": "1995-10-03" + }, + { + "name": "Diwali\/Deepavali", + "date": "1995-10-23" + }, + { + "name": "Bhai Dooj", + "date": "1995-10-25" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1995-11-07" + }, + { + "name": "Christmas", + "date": "1995-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1996____1996_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1996____1996_.snap new file mode 100644 index 00000000..e8fa6546 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1996____1996_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1996-01-26" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1996-02-21" + }, + { + "name": "Holi", + "date": "1996-03-05" + }, + { + "name": "Rama Navami", + "date": "1996-03-28" + }, + { + "name": "Mahavir Jayanti", + "date": "1996-04-01" + }, + { + "name": "Good Friday", + "date": "1996-04-05" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1996-04-29" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1996-05-03" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1996-05-28" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1996-07-29" + }, + { + "name": "Independence Day", + "date": "1996-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1996-08-28" + }, + { + "name": "Janmashtami", + "date": "1996-09-05" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1996-10-02" + }, + { + "name": "Dussehra", + "date": "1996-10-21" + }, + { + "name": "Diwali\/Deepavali", + "date": "1996-11-10" + }, + { + "name": "Bhai Dooj", + "date": "1996-11-12" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1996-11-25" + }, + { + "name": "Christmas", + "date": "1996-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1997____1997_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1997____1997_.snap new file mode 100644 index 00000000..1a65b104 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1997____1997_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1997-01-26" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1997-02-09" + }, + { + "name": "Holi", + "date": "1997-03-24" + }, + { + "name": "Good Friday", + "date": "1997-03-28" + }, + { + "name": "Rama Navami", + "date": "1997-04-16" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1997-04-18" + }, + { + "name": "Mahavir Jayanti", + "date": "1997-04-20" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1997-05-18" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1997-05-22" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1997-07-19" + }, + { + "name": "Independence Day", + "date": "1997-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1997-08-18" + }, + { + "name": "Janmashtami", + "date": "1997-08-25" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1997-10-02" + }, + { + "name": "Dussehra", + "date": "1997-10-11" + }, + { + "name": "Diwali\/Deepavali", + "date": "1997-10-30" + }, + { + "name": "Bhai Dooj", + "date": "1997-11-02" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1997-11-14" + }, + { + "name": "Christmas", + "date": "1997-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1998____1998_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1998____1998_.snap new file mode 100644 index 00000000..f5048731 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1998____1998_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "1998-01-26" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1998-01-30" + }, + { + "name": "Holi", + "date": "1998-03-13" + }, + { + "name": "Rama Navami", + "date": "1998-04-05" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1998-04-08" + }, + { + "name": "Mahavir Jayanti", + "date": "1998-04-09" + }, + { + "name": "Good Friday", + "date": "1998-04-10" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1998-05-07" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1998-05-11" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1998-07-08" + }, + { + "name": "Raksha Bandhan", + "date": "1998-08-07" + }, + { + "name": "Independence Day", + "date": "1998-08-15" + }, + { + "name": "Janmashtami", + "date": "1998-08-15" + }, + { + "name": "Dussehra", + "date": "1998-10-01" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1998-10-02" + }, + { + "name": "Diwali\/Deepavali", + "date": "1998-10-19" + }, + { + "name": "Bhai Dooj", + "date": "1998-10-22" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1998-11-04" + }, + { + "name": "Christmas", + "date": "1998-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1999____1999_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1999____1999_.snap new file mode 100644 index 00000000..b558a1a9 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___1999____1999_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "1999-01-19" + }, + { + "name": "Republic Day", + "date": "1999-01-26" + }, + { + "name": "Holi", + "date": "1999-03-02" + }, + { + "name": "Rama Navami", + "date": "1999-03-25" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "1999-03-28" + }, + { + "name": "Mahavir Jayanti", + "date": "1999-03-29" + }, + { + "name": "Good Friday", + "date": "1999-04-02" + }, + { + "name": "Muharram\/Ashura 1", + "date": "1999-04-26" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "1999-04-30" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "1999-06-27" + }, + { + "name": "Independence Day", + "date": "1999-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "1999-08-26" + }, + { + "name": "Janmashtami", + "date": "1999-09-03" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "1999-10-02" + }, + { + "name": "Dussehra", + "date": "1999-10-19" + }, + { + "name": "Diwali\/Deepavali", + "date": "1999-11-07" + }, + { + "name": "Bhai Dooj", + "date": "1999-11-09" + }, + { + "name": "Guru Nanak Jayanti", + "date": "1999-11-23" + }, + { + "name": "Christmas", + "date": "1999-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2000____2000_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2000____2000_.snap new file mode 100644 index 00000000..d81fb9d8 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2000____2000_.snap @@ -0,0 +1,82 @@ +[ + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2000-01-08" + }, + { + "name": "Republic Day", + "date": "2000-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2000-03-16" + }, + { + "name": "Holi", + "date": "2000-03-20" + }, + { + "name": "Rama Navami", + "date": "2000-04-12" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2000-04-15" + }, + { + "name": "Mahavir Jayanti", + "date": "2000-04-16" + }, + { + "name": "Good Friday", + "date": "2000-04-21" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2000-05-18" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2000-06-16" + }, + { + "name": "Independence Day", + "date": "2000-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2000-08-15" + }, + { + "name": "Janmashtami", + "date": "2000-08-23" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2000-10-02" + }, + { + "name": "Dussehra", + "date": "2000-10-07" + }, + { + "name": "Diwali\/Deepavali", + "date": "2000-10-26" + }, + { + "name": "Bhai Dooj", + "date": "2000-10-28" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2000-11-11" + }, + { + "name": "Christmas", + "date": "2000-12-25" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 2", + "date": "2000-12-28" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2001____2001_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2001____2001_.snap new file mode 100644 index 00000000..48504ac6 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2001____2001_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2001-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2001-03-06" + }, + { + "name": "Holi", + "date": "2001-03-10" + }, + { + "name": "Rama Navami", + "date": "2001-04-02" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2001-04-04" + }, + { + "name": "Mahavir Jayanti", + "date": "2001-04-06" + }, + { + "name": "Good Friday", + "date": "2001-04-13" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2001-05-07" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2001-06-05" + }, + { + "name": "Raksha Bandhan", + "date": "2001-08-04" + }, + { + "name": "Janmashtami", + "date": "2001-08-12" + }, + { + "name": "Independence Day", + "date": "2001-08-15" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2001-10-02" + }, + { + "name": "Dussehra", + "date": "2001-10-26" + }, + { + "name": "Diwali\/Deepavali", + "date": "2001-11-14" + }, + { + "name": "Bhai Dooj", + "date": "2001-11-16" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2001-11-30" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2001-12-17" + }, + { + "name": "Christmas", + "date": "2001-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2002____2002_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2002____2002_.snap new file mode 100644 index 00000000..140a01aa --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2002____2002_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2002-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2002-02-23" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2002-03-24" + }, + { + "name": "Holi", + "date": "2002-03-29" + }, + { + "name": "Good Friday", + "date": "2002-03-29" + }, + { + "name": "Rama Navami", + "date": "2002-04-21" + }, + { + "name": "Mahavir Jayanti", + "date": "2002-04-25" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2002-05-25" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2002-05-26" + }, + { + "name": "Independence Day", + "date": "2002-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2002-08-22" + }, + { + "name": "Janmashtami", + "date": "2002-08-31" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2002-10-02" + }, + { + "name": "Dussehra", + "date": "2002-10-15" + }, + { + "name": "Diwali\/Deepavali", + "date": "2002-11-04" + }, + { + "name": "Bhai Dooj", + "date": "2002-11-06" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2002-11-19" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2002-12-06" + }, + { + "name": "Christmas", + "date": "2002-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2003____2003_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2003____2003_.snap new file mode 100644 index 00000000..92eae558 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2003____2003_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2003-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2003-02-12" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2003-03-14" + }, + { + "name": "Holi", + "date": "2003-03-18" + }, + { + "name": "Rama Navami", + "date": "2003-04-11" + }, + { + "name": "Mahavir Jayanti", + "date": "2003-04-15" + }, + { + "name": "Good Friday", + "date": "2003-04-18" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2003-05-15" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2003-05-16" + }, + { + "name": "Raksha Bandhan", + "date": "2003-08-12" + }, + { + "name": "Independence Day", + "date": "2003-08-15" + }, + { + "name": "Janmashtami", + "date": "2003-08-20" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2003-10-02" + }, + { + "name": "Dussehra", + "date": "2003-10-05" + }, + { + "name": "Diwali\/Deepavali", + "date": "2003-10-25" + }, + { + "name": "Bhai Dooj", + "date": "2003-10-26" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2003-11-08" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2003-11-26" + }, + { + "name": "Christmas", + "date": "2003-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2004____2004_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2004____2004_.snap new file mode 100644 index 00000000..8a0abdf5 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2004____2004_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2004-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2004-02-02" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2004-03-02" + }, + { + "name": "Holi", + "date": "2004-03-07" + }, + { + "name": "Rama Navami", + "date": "2004-03-30" + }, + { + "name": "Mahavir Jayanti", + "date": "2004-04-03" + }, + { + "name": "Good Friday", + "date": "2004-04-09" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2004-05-03" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2004-05-04" + }, + { + "name": "Independence Day", + "date": "2004-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2004-08-29" + }, + { + "name": "Janmashtami", + "date": "2004-09-07" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2004-10-02" + }, + { + "name": "Dussehra", + "date": "2004-10-22" + }, + { + "name": "Diwali\/Deepavali", + "date": "2004-11-12" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2004-11-14" + }, + { + "name": "Bhai Dooj", + "date": "2004-11-14" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2004-11-26" + }, + { + "name": "Christmas", + "date": "2004-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2005____2005_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2005____2005_.snap new file mode 100644 index 00000000..038230d8 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2005____2005_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2005-01-21" + }, + { + "name": "Republic Day", + "date": "2005-01-26" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2005-02-19" + }, + { + "name": "Good Friday", + "date": "2005-03-25" + }, + { + "name": "Holi", + "date": "2005-03-26" + }, + { + "name": "Rama Navami", + "date": "2005-04-18" + }, + { + "name": "Mahavir Jayanti", + "date": "2005-04-22" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2005-04-22" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2005-05-23" + }, + { + "name": "Independence Day", + "date": "2005-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2005-08-19" + }, + { + "name": "Janmashtami", + "date": "2005-08-27" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2005-10-02" + }, + { + "name": "Dussehra", + "date": "2005-10-12" + }, + { + "name": "Diwali\/Deepavali", + "date": "2005-11-01" + }, + { + "name": "Bhai Dooj", + "date": "2005-11-03" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2005-11-04" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2005-11-15" + }, + { + "name": "Christmas", + "date": "2005-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2006____2006_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2006____2006_.snap new file mode 100644 index 00000000..6664d262 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2006____2006_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2006-01-11" + }, + { + "name": "Republic Day", + "date": "2006-01-26" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2006-02-09" + }, + { + "name": "Holi", + "date": "2006-03-15" + }, + { + "name": "Rama Navami", + "date": "2006-04-06" + }, + { + "name": "Mahavir Jayanti", + "date": "2006-04-11" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2006-04-11" + }, + { + "name": "Good Friday", + "date": "2006-04-14" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2006-05-13" + }, + { + "name": "Raksha Bandhan", + "date": "2006-08-09" + }, + { + "name": "Independence Day", + "date": "2006-08-15" + }, + { + "name": "Janmashtami", + "date": "2006-08-16" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2006-10-02" + }, + { + "name": "Dussehra", + "date": "2006-10-02" + }, + { + "name": "Diwali\/Deepavali", + "date": "2006-10-21" + }, + { + "name": "Bhai Dooj", + "date": "2006-10-23" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2006-10-24" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2006-11-05" + }, + { + "name": "Christmas", + "date": "2006-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2007____2007_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2007____2007_.snap new file mode 100644 index 00000000..689cedc2 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2007____2007_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2007-01-26" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2007-01-30" + }, + { + "name": "Holi", + "date": "2007-03-04" + }, + { + "name": "Rama Navami", + "date": "2007-03-26" + }, + { + "name": "Mahavir Jayanti", + "date": "2007-03-31" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2007-04-01" + }, + { + "name": "Good Friday", + "date": "2007-04-06" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2007-05-02" + }, + { + "name": "Independence Day", + "date": "2007-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2007-08-28" + }, + { + "name": "Janmashtami", + "date": "2007-09-04" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2007-10-02" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2007-10-13" + }, + { + "name": "Dussehra", + "date": "2007-10-21" + }, + { + "name": "Diwali\/Deepavali", + "date": "2007-11-09" + }, + { + "name": "Bhai Dooj", + "date": "2007-11-11" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2007-11-24" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2007-12-20" + }, + { + "name": "Christmas", + "date": "2007-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2008____2008_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2008____2008_.snap new file mode 100644 index 00000000..b34df734 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2008____2008_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Muharram\/Ashura 1", + "date": "2008-01-19" + }, + { + "name": "Republic Day", + "date": "2008-01-26" + }, + { + "name": "Good Friday", + "date": "2008-03-21" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2008-03-21" + }, + { + "name": "Holi", + "date": "2008-03-22" + }, + { + "name": "Rama Navami", + "date": "2008-04-13" + }, + { + "name": "Mahavir Jayanti", + "date": "2008-04-18" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2008-05-20" + }, + { + "name": "Independence Day", + "date": "2008-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2008-08-16" + }, + { + "name": "Janmashtami", + "date": "2008-08-24" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2008-10-02" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2008-10-02" + }, + { + "name": "Dussehra", + "date": "2008-10-09" + }, + { + "name": "Diwali\/Deepavali", + "date": "2008-10-28" + }, + { + "name": "Bhai Dooj", + "date": "2008-10-30" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2008-11-13" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2008-12-09" + }, + { + "name": "Christmas", + "date": "2008-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2009____2009_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2009____2009_.snap new file mode 100644 index 00000000..9c9e3a50 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2009____2009_.snap @@ -0,0 +1,82 @@ +[ + { + "name": "Muharram\/Ashura 1", + "date": "2009-01-07" + }, + { + "name": "Republic Day", + "date": "2009-01-26" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2009-03-09" + }, + { + "name": "Holi", + "date": "2009-03-11" + }, + { + "name": "Rama Navami", + "date": "2009-04-03" + }, + { + "name": "Mahavir Jayanti", + "date": "2009-04-07" + }, + { + "name": "Good Friday", + "date": "2009-04-10" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2009-05-08" + }, + { + "name": "Raksha Bandhan", + "date": "2009-08-05" + }, + { + "name": "Janmashtami", + "date": "2009-08-14" + }, + { + "name": "Independence Day", + "date": "2009-08-15" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2009-09-21" + }, + { + "name": "Dussehra", + "date": "2009-09-28" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2009-10-02" + }, + { + "name": "Diwali\/Deepavali", + "date": "2009-10-17" + }, + { + "name": "Bhai Dooj", + "date": "2009-10-19" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2009-11-02" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2009-11-28" + }, + { + "name": "Christmas", + "date": "2009-12-25" + }, + { + "name": "Muharram\/Ashura 2", + "date": "2009-12-27" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2010____2010_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2010____2010_.snap new file mode 100644 index 00000000..dbc0d8dd --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2010____2010_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2010-01-26" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2010-02-27" + }, + { + "name": "Holi", + "date": "2010-03-01" + }, + { + "name": "Rama Navami", + "date": "2010-03-24" + }, + { + "name": "Good Friday", + "date": "2010-04-02" + }, + { + "name": "Mahavir Jayanti", + "date": "2010-04-28" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2010-05-27" + }, + { + "name": "Independence Day", + "date": "2010-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2010-08-24" + }, + { + "name": "Janmashtami", + "date": "2010-09-02" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2010-09-10" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2010-10-02" + }, + { + "name": "Dussehra", + "date": "2010-10-17" + }, + { + "name": "Diwali\/Deepavali", + "date": "2010-11-05" + }, + { + "name": "Bhai Dooj", + "date": "2010-11-07" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2010-11-17" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2010-11-21" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2010-12-17" + }, + { + "name": "Christmas", + "date": "2010-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2011____2011_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2011____2011_.snap new file mode 100644 index 00000000..73a5ac8a --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2011____2011_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2011-01-26" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2011-02-16" + }, + { + "name": "Holi", + "date": "2011-03-20" + }, + { + "name": "Rama Navami", + "date": "2011-04-12" + }, + { + "name": "Mahavir Jayanti", + "date": "2011-04-16" + }, + { + "name": "Good Friday", + "date": "2011-04-22" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2011-05-17" + }, + { + "name": "Raksha Bandhan", + "date": "2011-08-13" + }, + { + "name": "Independence Day", + "date": "2011-08-15" + }, + { + "name": "Janmashtami", + "date": "2011-08-22" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2011-08-31" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2011-10-02" + }, + { + "name": "Dussehra", + "date": "2011-10-06" + }, + { + "name": "Diwali\/Deepavali", + "date": "2011-10-26" + }, + { + "name": "Bhai Dooj", + "date": "2011-10-28" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2011-11-07" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2011-11-10" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2011-12-06" + }, + { + "name": "Christmas", + "date": "2011-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2012____2012_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2012____2012_.snap new file mode 100644 index 00000000..8df9f149 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2012____2012_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2012-01-26" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2012-02-05" + }, + { + "name": "Holi", + "date": "2012-03-08" + }, + { + "name": "Rama Navami", + "date": "2012-04-01" + }, + { + "name": "Mahavir Jayanti", + "date": "2012-04-05" + }, + { + "name": "Good Friday", + "date": "2012-04-06" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2012-05-06" + }, + { + "name": "Raksha Bandhan", + "date": "2012-08-02" + }, + { + "name": "Janmashtami", + "date": "2012-08-10" + }, + { + "name": "Independence Day", + "date": "2012-08-15" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2012-08-20" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2012-10-02" + }, + { + "name": "Dussehra", + "date": "2012-10-24" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2012-10-27" + }, + { + "name": "Diwali\/Deepavali", + "date": "2012-11-13" + }, + { + "name": "Bhai Dooj", + "date": "2012-11-15" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2012-11-25" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2012-11-28" + }, + { + "name": "Christmas", + "date": "2012-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2013____2013_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2013____2013_.snap new file mode 100644 index 00000000..e8f391bf --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2013____2013_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2013-01-25" + }, + { + "name": "Republic Day", + "date": "2013-01-26" + }, + { + "name": "Holi", + "date": "2013-03-27" + }, + { + "name": "Good Friday", + "date": "2013-03-29" + }, + { + "name": "Rama Navami", + "date": "2013-04-19" + }, + { + "name": "Mahavir Jayanti", + "date": "2013-04-24" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2013-05-25" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2013-08-09" + }, + { + "name": "Independence Day", + "date": "2013-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2013-08-20" + }, + { + "name": "Janmashtami", + "date": "2013-08-28" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2013-10-02" + }, + { + "name": "Dussehra", + "date": "2013-10-13" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2013-10-16" + }, + { + "name": "Diwali\/Deepavali", + "date": "2013-11-03" + }, + { + "name": "Bhai Dooj", + "date": "2013-11-05" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2013-11-14" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2013-11-17" + }, + { + "name": "Christmas", + "date": "2013-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2014____2014_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2014____2014_.snap new file mode 100644 index 00000000..39917160 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2014____2014_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2014-01-14" + }, + { + "name": "Republic Day", + "date": "2014-01-26" + }, + { + "name": "Holi", + "date": "2014-03-17" + }, + { + "name": "Rama Navami", + "date": "2014-04-08" + }, + { + "name": "Mahavir Jayanti", + "date": "2014-04-13" + }, + { + "name": "Good Friday", + "date": "2014-04-18" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2014-05-14" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2014-07-29" + }, + { + "name": "Raksha Bandhan", + "date": "2014-08-10" + }, + { + "name": "Independence Day", + "date": "2014-08-15" + }, + { + "name": "Janmashtami", + "date": "2014-08-18" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2014-10-02" + }, + { + "name": "Dussehra", + "date": "2014-10-03" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2014-10-06" + }, + { + "name": "Diwali\/Deepavali", + "date": "2014-10-23" + }, + { + "name": "Bhai Dooj", + "date": "2014-10-25" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2014-11-04" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2014-11-06" + }, + { + "name": "Christmas", + "date": "2014-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2015____2015_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2015____2015_.snap new file mode 100644 index 00000000..a2b24d1f --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2015____2015_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2015-01-04" + }, + { + "name": "Republic Day", + "date": "2015-01-26" + }, + { + "name": "Holi", + "date": "2015-03-06" + }, + { + "name": "Rama Navami", + "date": "2015-03-28" + }, + { + "name": "Mahavir Jayanti", + "date": "2015-04-02" + }, + { + "name": "Good Friday", + "date": "2015-04-03" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2015-05-04" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2015-07-19" + }, + { + "name": "Independence Day", + "date": "2015-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2015-08-29" + }, + { + "name": "Janmashtami", + "date": "2015-09-05" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2015-09-25" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2015-10-02" + }, + { + "name": "Dussehra", + "date": "2015-10-22" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2015-10-24" + }, + { + "name": "Diwali\/Deepavali", + "date": "2015-11-11" + }, + { + "name": "Bhai Dooj", + "date": "2015-11-13" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2015-11-25" + }, + { + "name": "Christmas", + "date": "2015-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2016____2016_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2016____2016_.snap new file mode 100644 index 00000000..6d41a0e5 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2016____2016_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2016-01-26" + }, + { + "name": "Holi", + "date": "2016-03-24" + }, + { + "name": "Good Friday", + "date": "2016-03-25" + }, + { + "name": "Rama Navami", + "date": "2016-04-15" + }, + { + "name": "Mahavir Jayanti", + "date": "2016-04-20" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2016-05-21" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2016-07-06" + }, + { + "name": "Independence Day", + "date": "2016-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2016-08-18" + }, + { + "name": "Janmashtami", + "date": "2016-08-25" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2016-09-13" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2016-10-02" + }, + { + "name": "Dussehra", + "date": "2016-10-11" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2016-10-12" + }, + { + "name": "Diwali\/Deepavali", + "date": "2016-10-30" + }, + { + "name": "Bhai Dooj", + "date": "2016-11-01" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2016-11-14" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2016-12-13" + }, + { + "name": "Christmas", + "date": "2016-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2017____2017_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2017____2017_.snap new file mode 100644 index 00000000..7b499741 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2017____2017_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2017-01-26" + }, + { + "name": "Holi", + "date": "2017-03-13" + }, + { + "name": "Rama Navami", + "date": "2017-04-04" + }, + { + "name": "Mahavir Jayanti", + "date": "2017-04-09" + }, + { + "name": "Good Friday", + "date": "2017-04-14" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2017-05-10" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2017-06-26" + }, + { + "name": "Raksha Bandhan", + "date": "2017-08-07" + }, + { + "name": "Independence Day", + "date": "2017-08-15" + }, + { + "name": "Janmashtami", + "date": "2017-08-15" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2017-09-02" + }, + { + "name": "Dussehra", + "date": "2017-09-30" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2017-10-01" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2017-10-02" + }, + { + "name": "Diwali\/Deepavali", + "date": "2017-10-19" + }, + { + "name": "Bhai Dooj", + "date": "2017-10-21" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2017-11-04" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2017-12-02" + }, + { + "name": "Christmas", + "date": "2017-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2018____2018_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2018____2018_.snap new file mode 100644 index 00000000..d9f8413f --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2018____2018_.snap @@ -0,0 +1,82 @@ +[ + { + "name": "Republic Day", + "date": "2018-01-26" + }, + { + "name": "Holi", + "date": "2018-03-02" + }, + { + "name": "Rama Navami", + "date": "2018-03-25" + }, + { + "name": "Mahavir Jayanti", + "date": "2018-03-29" + }, + { + "name": "Good Friday", + "date": "2018-03-30" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2018-04-30" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2018-06-15" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 2", + "date": "2018-06-16" + }, + { + "name": "Independence Day", + "date": "2018-08-15" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2018-08-22" + }, + { + "name": "Raksha Bandhan", + "date": "2018-08-26" + }, + { + "name": "Janmashtami", + "date": "2018-09-03" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2018-09-21" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2018-10-02" + }, + { + "name": "Dussehra", + "date": "2018-10-19" + }, + { + "name": "Diwali\/Deepavali", + "date": "2018-11-07" + }, + { + "name": "Bhai Dooj", + "date": "2018-11-09" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2018-11-21" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2018-11-23" + }, + { + "name": "Christmas", + "date": "2018-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2019____2019_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2019____2019_.snap new file mode 100644 index 00000000..af8fd8a8 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2019____2019_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2019-01-26" + }, + { + "name": "Holi", + "date": "2019-03-21" + }, + { + "name": "Rama Navami", + "date": "2019-04-13" + }, + { + "name": "Mahavir Jayanti", + "date": "2019-04-17" + }, + { + "name": "Good Friday", + "date": "2019-04-19" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2019-05-18" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2019-06-05" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2019-08-12" + }, + { + "name": "Independence Day", + "date": "2019-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2019-08-15" + }, + { + "name": "Janmashtami", + "date": "2019-08-24" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2019-09-10" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2019-10-02" + }, + { + "name": "Dussehra", + "date": "2019-10-08" + }, + { + "name": "Diwali\/Deepavali", + "date": "2019-10-27" + }, + { + "name": "Bhai Dooj", + "date": "2019-10-29" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2019-11-10" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2019-11-12" + }, + { + "name": "Christmas", + "date": "2019-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2020____2020_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2020____2020_.snap new file mode 100644 index 00000000..befb58da --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2020____2020_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2020-01-26" + }, + { + "name": "Holi", + "date": "2020-03-10" + }, + { + "name": "Rama Navami", + "date": "2020-04-02" + }, + { + "name": "Mahavir Jayanti", + "date": "2020-04-06" + }, + { + "name": "Good Friday", + "date": "2020-04-10" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2020-05-07" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2020-05-25" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2020-08-01" + }, + { + "name": "Raksha Bandhan", + "date": "2020-08-03" + }, + { + "name": "Janmashtami", + "date": "2020-08-12" + }, + { + "name": "Independence Day", + "date": "2020-08-15" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2020-08-30" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2020-10-02" + }, + { + "name": "Dussehra", + "date": "2020-10-25" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2020-10-30" + }, + { + "name": "Diwali\/Deepavali", + "date": "2020-11-14" + }, + { + "name": "Bhai Dooj", + "date": "2020-11-16" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2020-11-30" + }, + { + "name": "Christmas", + "date": "2020-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2021____2021_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2021____2021_.snap new file mode 100644 index 00000000..85021a94 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2021____2021_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2021-01-26" + }, + { + "name": "Holi", + "date": "2021-03-29" + }, + { + "name": "Good Friday", + "date": "2021-04-02" + }, + { + "name": "Rama Navami", + "date": "2021-04-21" + }, + { + "name": "Mahavir Jayanti", + "date": "2021-04-25" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2021-05-14" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2021-05-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2021-07-21" + }, + { + "name": "Independence Day", + "date": "2021-08-15" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2021-08-20" + }, + { + "name": "Raksha Bandhan", + "date": "2021-08-22" + }, + { + "name": "Janmashtami", + "date": "2021-08-30" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2021-10-02" + }, + { + "name": "Dussehra", + "date": "2021-10-15" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2021-10-19" + }, + { + "name": "Diwali\/Deepavali", + "date": "2021-11-04" + }, + { + "name": "Bhai Dooj", + "date": "2021-11-06" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2021-11-19" + }, + { + "name": "Christmas", + "date": "2021-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2022____2022_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2022____2022_.snap new file mode 100644 index 00000000..1d1c49d4 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2022____2022_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2022-01-26" + }, + { + "name": "Holi", + "date": "2022-03-18" + }, + { + "name": "Rama Navami", + "date": "2022-04-10" + }, + { + "name": "Mahavir Jayanti", + "date": "2022-04-14" + }, + { + "name": "Good Friday", + "date": "2022-04-15" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2022-05-03" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2022-05-16" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2022-07-10" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2022-08-09" + }, + { + "name": "Raksha Bandhan", + "date": "2022-08-11" + }, + { + "name": "Independence Day", + "date": "2022-08-15" + }, + { + "name": "Janmashtami", + "date": "2022-08-19" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2022-10-02" + }, + { + "name": "Dussehra", + "date": "2022-10-05" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2022-10-09" + }, + { + "name": "Diwali\/Deepavali", + "date": "2022-10-24" + }, + { + "name": "Bhai Dooj", + "date": "2022-10-26" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2022-11-08" + }, + { + "name": "Christmas", + "date": "2022-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2023____2023_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2023____2023_.snap new file mode 100644 index 00000000..39df2124 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2023____2023_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2023-01-26" + }, + { + "name": "Holi", + "date": "2023-03-08" + }, + { + "name": "Rama Navami", + "date": "2023-03-30" + }, + { + "name": "Mahavir Jayanti", + "date": "2023-04-04" + }, + { + "name": "Good Friday", + "date": "2023-04-07" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2023-04-22" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2023-05-05" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2023-06-29" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2023-07-29" + }, + { + "name": "Independence Day", + "date": "2023-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2023-08-30" + }, + { + "name": "Janmashtami", + "date": "2023-09-07" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2023-09-28" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2023-10-02" + }, + { + "name": "Dussehra", + "date": "2023-10-24" + }, + { + "name": "Diwali\/Deepavali", + "date": "2023-11-12" + }, + { + "name": "Bhai Dooj", + "date": "2023-11-15" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2023-11-27" + }, + { + "name": "Christmas", + "date": "2023-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2024____2024_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2024____2024_.snap new file mode 100644 index 00000000..f484dfb2 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2024____2024_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2024-01-26" + }, + { + "name": "Holi", + "date": "2024-03-25" + }, + { + "name": "Good Friday", + "date": "2024-03-29" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2024-04-11" + }, + { + "name": "Rama Navami", + "date": "2024-04-17" + }, + { + "name": "Mahavir Jayanti", + "date": "2024-04-21" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2024-05-23" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2024-06-17" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2024-07-17" + }, + { + "name": "Independence Day", + "date": "2024-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2024-08-19" + }, + { + "name": "Janmashtami", + "date": "2024-08-26" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2024-09-16" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2024-10-02" + }, + { + "name": "Dussehra", + "date": "2024-10-12" + }, + { + "name": "Diwali\/Deepavali", + "date": "2024-10-31" + }, + { + "name": "Bhai Dooj", + "date": "2024-11-03" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2024-11-15" + }, + { + "name": "Christmas", + "date": "2024-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2025____2025_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2025____2025_.snap new file mode 100644 index 00000000..32d53cf4 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2025____2025_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2025-01-26" + }, + { + "name": "Holi", + "date": "2025-03-14" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2025-03-31" + }, + { + "name": "Rama Navami", + "date": "2025-04-06" + }, + { + "name": "Mahavir Jayanti", + "date": "2025-04-10" + }, + { + "name": "Good Friday", + "date": "2025-04-18" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2025-05-12" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2025-06-07" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2025-07-06" + }, + { + "name": "Raksha Bandhan", + "date": "2025-08-09" + }, + { + "name": "Independence Day", + "date": "2025-08-15" + }, + { + "name": "Janmashtami", + "date": "2025-08-16" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2025-09-05" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2025-10-02" + }, + { + "name": "Dussehra", + "date": "2025-10-02" + }, + { + "name": "Diwali\/Deepavali", + "date": "2025-10-20" + }, + { + "name": "Bhai Dooj", + "date": "2025-10-23" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2025-11-05" + }, + { + "name": "Christmas", + "date": "2025-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2026____2026_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2026____2026_.snap new file mode 100644 index 00000000..08a5945b --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2026____2026_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2026-01-26" + }, + { + "name": "Holi", + "date": "2026-03-04" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2026-03-21" + }, + { + "name": "Rama Navami", + "date": "2026-03-26" + }, + { + "name": "Mahavir Jayanti", + "date": "2026-03-31" + }, + { + "name": "Good Friday", + "date": "2026-04-03" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2026-05-01" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2026-05-28" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2026-06-26" + }, + { + "name": "Independence Day", + "date": "2026-08-15" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2026-08-27" + }, + { + "name": "Raksha Bandhan", + "date": "2026-08-28" + }, + { + "name": "Janmashtami", + "date": "2026-09-04" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2026-10-02" + }, + { + "name": "Dussehra", + "date": "2026-10-20" + }, + { + "name": "Diwali\/Deepavali", + "date": "2026-11-08" + }, + { + "name": "Bhai Dooj", + "date": "2026-11-11" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2026-11-24" + }, + { + "name": "Christmas", + "date": "2026-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2027____2027_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2027____2027_.snap new file mode 100644 index 00000000..63ad1b05 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2027____2027_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2027-01-26" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2027-03-10" + }, + { + "name": "Holi", + "date": "2027-03-22" + }, + { + "name": "Good Friday", + "date": "2027-03-26" + }, + { + "name": "Rama Navami", + "date": "2027-04-15" + }, + { + "name": "Mahavir Jayanti", + "date": "2027-04-19" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2027-05-17" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2027-05-20" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2027-06-16" + }, + { + "name": "Independence Day", + "date": "2027-08-15" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2027-08-16" + }, + { + "name": "Raksha Bandhan", + "date": "2027-08-17" + }, + { + "name": "Janmashtami", + "date": "2027-08-25" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2027-10-02" + }, + { + "name": "Dussehra", + "date": "2027-10-09" + }, + { + "name": "Diwali\/Deepavali", + "date": "2027-10-29" + }, + { + "name": "Bhai Dooj", + "date": "2027-10-31" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2027-11-14" + }, + { + "name": "Christmas", + "date": "2027-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2028____2028_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2028____2028_.snap new file mode 100644 index 00000000..4367280f --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2028____2028_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2028-01-26" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2028-02-27" + }, + { + "name": "Holi", + "date": "2028-03-11" + }, + { + "name": "Rama Navami", + "date": "2028-04-03" + }, + { + "name": "Mahavir Jayanti", + "date": "2028-04-07" + }, + { + "name": "Good Friday", + "date": "2028-04-14" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2028-05-06" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2028-05-08" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2028-06-04" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2028-08-04" + }, + { + "name": "Raksha Bandhan", + "date": "2028-08-05" + }, + { + "name": "Janmashtami", + "date": "2028-08-13" + }, + { + "name": "Independence Day", + "date": "2028-08-15" + }, + { + "name": "Dussehra", + "date": "2028-09-27" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2028-10-02" + }, + { + "name": "Diwali\/Deepavali", + "date": "2028-10-17" + }, + { + "name": "Bhai Dooj", + "date": "2028-10-19" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2028-11-02" + }, + { + "name": "Christmas", + "date": "2028-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2029____2029_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2029____2029_.snap new file mode 100644 index 00000000..33cad1b2 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2029____2029_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2029-01-26" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2029-02-15" + }, + { + "name": "Holi", + "date": "2029-03-01" + }, + { + "name": "Good Friday", + "date": "2029-03-30" + }, + { + "name": "Rama Navami", + "date": "2029-04-22" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2029-04-25" + }, + { + "name": "Mahavir Jayanti", + "date": "2029-04-26" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2029-05-25" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2029-05-27" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2029-07-25" + }, + { + "name": "Independence Day", + "date": "2029-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2029-08-23" + }, + { + "name": "Janmashtami", + "date": "2029-09-01" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2029-10-02" + }, + { + "name": "Dussehra", + "date": "2029-10-16" + }, + { + "name": "Diwali\/Deepavali", + "date": "2029-11-05" + }, + { + "name": "Bhai Dooj", + "date": "2029-11-07" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2029-11-21" + }, + { + "name": "Christmas", + "date": "2029-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2030____2030_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2030____2030_.snap new file mode 100644 index 00000000..bada3540 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2030____2030_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2030-01-26" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2030-02-05" + }, + { + "name": "Holi", + "date": "2030-03-20" + }, + { + "name": "Rama Navami", + "date": "2030-04-12" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2030-04-14" + }, + { + "name": "Mahavir Jayanti", + "date": "2030-04-16" + }, + { + "name": "Good Friday", + "date": "2030-04-19" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2030-05-14" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2030-05-17" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2030-07-14" + }, + { + "name": "Raksha Bandhan", + "date": "2030-08-13" + }, + { + "name": "Independence Day", + "date": "2030-08-15" + }, + { + "name": "Janmashtami", + "date": "2030-08-21" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2030-10-02" + }, + { + "name": "Dussehra", + "date": "2030-10-06" + }, + { + "name": "Diwali\/Deepavali", + "date": "2030-10-26" + }, + { + "name": "Bhai Dooj", + "date": "2030-10-28" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2030-11-10" + }, + { + "name": "Christmas", + "date": "2030-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2031____2031_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2031____2031_.snap new file mode 100644 index 00000000..c6461462 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2031____2031_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2031-01-25" + }, + { + "name": "Republic Day", + "date": "2031-01-26" + }, + { + "name": "Holi", + "date": "2031-03-09" + }, + { + "name": "Rama Navami", + "date": "2031-04-01" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2031-04-03" + }, + { + "name": "Mahavir Jayanti", + "date": "2031-04-05" + }, + { + "name": "Good Friday", + "date": "2031-04-11" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2031-05-03" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2031-05-07" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2031-07-03" + }, + { + "name": "Raksha Bandhan", + "date": "2031-08-02" + }, + { + "name": "Janmashtami", + "date": "2031-08-10" + }, + { + "name": "Independence Day", + "date": "2031-08-15" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2031-10-02" + }, + { + "name": "Dussehra", + "date": "2031-10-25" + }, + { + "name": "Diwali\/Deepavali", + "date": "2031-11-14" + }, + { + "name": "Bhai Dooj", + "date": "2031-11-16" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2031-11-28" + }, + { + "name": "Christmas", + "date": "2031-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2032____2032_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2032____2032_.snap new file mode 100644 index 00000000..555ff0c1 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2032____2032_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2032-01-15" + }, + { + "name": "Republic Day", + "date": "2032-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2032-03-22" + }, + { + "name": "Good Friday", + "date": "2032-03-26" + }, + { + "name": "Holi", + "date": "2032-03-27" + }, + { + "name": "Rama Navami", + "date": "2032-04-19" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2032-04-21" + }, + { + "name": "Mahavir Jayanti", + "date": "2032-04-23" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2032-05-25" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2032-06-22" + }, + { + "name": "Independence Day", + "date": "2032-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2032-08-20" + }, + { + "name": "Janmashtami", + "date": "2032-08-28" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2032-10-02" + }, + { + "name": "Dussehra", + "date": "2032-10-14" + }, + { + "name": "Diwali\/Deepavali", + "date": "2032-11-02" + }, + { + "name": "Bhai Dooj", + "date": "2032-11-04" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2032-11-17" + }, + { + "name": "Christmas", + "date": "2032-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2033____2033_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2033____2033_.snap new file mode 100644 index 00000000..138eeebb --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2033____2033_.snap @@ -0,0 +1,82 @@ +[ + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2033-01-03" + }, + { + "name": "Republic Day", + "date": "2033-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2033-03-12" + }, + { + "name": "Holi", + "date": "2033-03-16" + }, + { + "name": "Rama Navami", + "date": "2033-04-07" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2033-04-11" + }, + { + "name": "Mahavir Jayanti", + "date": "2033-04-12" + }, + { + "name": "Good Friday", + "date": "2033-04-15" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2033-05-14" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2033-06-11" + }, + { + "name": "Raksha Bandhan", + "date": "2033-08-10" + }, + { + "name": "Independence Day", + "date": "2033-08-15" + }, + { + "name": "Janmashtami", + "date": "2033-08-17" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2033-10-02" + }, + { + "name": "Dussehra", + "date": "2033-10-03" + }, + { + "name": "Diwali\/Deepavali", + "date": "2033-10-22" + }, + { + "name": "Bhai Dooj", + "date": "2033-10-25" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2033-11-06" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 2", + "date": "2033-12-24" + }, + { + "name": "Christmas", + "date": "2033-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2034____2034_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2034____2034_.snap new file mode 100644 index 00000000..a2d63b3f --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2034____2034_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2034-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2034-03-02" + }, + { + "name": "Holi", + "date": "2034-03-05" + }, + { + "name": "Rama Navami", + "date": "2034-03-28" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2034-03-31" + }, + { + "name": "Mahavir Jayanti", + "date": "2034-04-01" + }, + { + "name": "Good Friday", + "date": "2034-04-07" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2034-05-03" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2034-05-31" + }, + { + "name": "Independence Day", + "date": "2034-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2034-08-29" + }, + { + "name": "Janmashtami", + "date": "2034-09-06" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2034-10-02" + }, + { + "name": "Dussehra", + "date": "2034-10-22" + }, + { + "name": "Diwali\/Deepavali", + "date": "2034-11-10" + }, + { + "name": "Bhai Dooj", + "date": "2034-11-12" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2034-11-25" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2034-12-13" + }, + { + "name": "Christmas", + "date": "2034-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2035____2035_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2035____2035_.snap new file mode 100644 index 00000000..c9028172 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2035____2035_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2035-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2035-02-19" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2035-03-21" + }, + { + "name": "Good Friday", + "date": "2035-03-23" + }, + { + "name": "Holi", + "date": "2035-03-24" + }, + { + "name": "Rama Navami", + "date": "2035-04-16" + }, + { + "name": "Mahavir Jayanti", + "date": "2035-04-20" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2035-05-21" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2035-05-22" + }, + { + "name": "Independence Day", + "date": "2035-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2035-08-18" + }, + { + "name": "Janmashtami", + "date": "2035-08-26" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2035-10-02" + }, + { + "name": "Dussehra", + "date": "2035-10-11" + }, + { + "name": "Diwali\/Deepavali", + "date": "2035-10-30" + }, + { + "name": "Bhai Dooj", + "date": "2035-11-01" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2035-11-15" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2035-12-02" + }, + { + "name": "Christmas", + "date": "2035-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2036____2036_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2036____2036_.snap new file mode 100644 index 00000000..e4f06970 --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2036____2036_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2036-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2036-02-08" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2036-03-09" + }, + { + "name": "Holi", + "date": "2036-03-12" + }, + { + "name": "Rama Navami", + "date": "2036-04-05" + }, + { + "name": "Mahavir Jayanti", + "date": "2036-04-08" + }, + { + "name": "Good Friday", + "date": "2036-04-11" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2036-05-09" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2036-05-10" + }, + { + "name": "Raksha Bandhan", + "date": "2036-08-06" + }, + { + "name": "Independence Day", + "date": "2036-08-15" + }, + { + "name": "Janmashtami", + "date": "2036-08-15" + }, + { + "name": "Dussehra", + "date": "2036-09-29" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2036-10-02" + }, + { + "name": "Diwali\/Deepavali", + "date": "2036-10-18" + }, + { + "name": "Bhai Dooj", + "date": "2036-10-21" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2036-11-03" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2036-11-20" + }, + { + "name": "Christmas", + "date": "2036-12-25" + } +] \ No newline at end of file diff --git a/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2037____2037_.snap b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2037____2037_.snap new file mode 100644 index 00000000..d74cbf3b --- /dev/null +++ b/tests/.pest/snapshots/Countries/IndiaTest/it_can_calculate_india_holidays_with_data_set___2037____2037_.snap @@ -0,0 +1,78 @@ +[ + { + "name": "Republic Day", + "date": "2037-01-26" + }, + { + "name": "Bakrid\/Eid ul-Adha 1", + "date": "2037-01-27" + }, + { + "name": "Muharram\/Ashura 1", + "date": "2037-02-26" + }, + { + "name": "Holi", + "date": "2037-03-02" + }, + { + "name": "Rama Navami", + "date": "2037-03-25" + }, + { + "name": "Mahavir Jayanti", + "date": "2037-03-29" + }, + { + "name": "Good Friday", + "date": "2037-04-03" + }, + { + "name": "Buddha Purnima\/Vesak", + "date": "2037-04-29" + }, + { + "name": "Milad un-Nabi\/Id-e-Milad 1", + "date": "2037-04-29" + }, + { + "name": "Independence Day", + "date": "2037-08-15" + }, + { + "name": "Raksha Bandhan", + "date": "2037-08-25" + }, + { + "name": "Janmashtami", + "date": "2037-09-03" + }, + { + "name": "Mahatma Gandhi Jayanti", + "date": "2037-10-02" + }, + { + "name": "Dussehra", + "date": "2037-10-18" + }, + { + "name": "Diwali\/Deepavali", + "date": "2037-11-07" + }, + { + "name": "Bhai Dooj", + "date": "2037-11-08" + }, + { + "name": "Ramzan Id\\\/Eid-ul-Fitar 1", + "date": "2037-11-09" + }, + { + "name": "Guru Nanak Jayanti", + "date": "2037-11-22" + }, + { + "name": "Christmas", + "date": "2037-12-25" + } +] \ No newline at end of file diff --git a/tests/Countries/IndiaTest.php b/tests/Countries/IndiaTest.php new file mode 100644 index 00000000..ecc7db69 --- /dev/null +++ b/tests/Countries/IndiaTest.php @@ -0,0 +1,16 @@ +get(); + expect($holidays) + ->toBeArray() + ->not()->toBeEmpty(); + + expect(formatDates($holidays))->toMatchSnapshot(); +})->with([1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037]); \ No newline at end of file