holidays_us 1.0.1 copy "holidays_us: ^1.0.1" to clipboard
holidays_us: ^1.0.1 copied to clipboard

outdated

Holidays in the United States

Holidays US #

Usage #

  var holidays = USHolidays();
  print(holidays.christmas(2020));
  print(holidays.getHolidayGenerator('christmas')!(2020));

A list of US holidays. You can get a holiday year generator by using the getHolidayGenerator(String) method which will return the equivalent of the holiday method. For example holidays.getHolidayGenerator('christmas')(2020) is the same as holidays.christmas(2020). `