Skip to content
compute dates
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
result.md

README.md

Calendarium Build status

manage referential of computed date

Use

// Load all configuration files in a specific folder
var dir = new System.IO.DirectoryInfo(Path.Combine(Environment.CurrentDirectory, "Configuration/Countries"));
var loader = new ConfigurationLoader(dir).Load();

// Initialize
var cal = CalendariumConfiguration.GetCalendarium
(
    loader
);

// Get all dates for country france
int year = DateTime.Now.Year;
var dates = cal.GetDates(year, "France");

the result date is converter in current thread culture calendar

Managed countries

  • France
  • Germany
  • Luxembourg
  • Belgium
  • Andorra
  • Austria
  • Portugal
  • Croatia
  • San_Marino
  • Malta
  • Estonia
  • Ecuador
  • Italy
  • India
  • Czechia
  • Nicaragua
  • Peru
  • Slovakia
  • Slovenia
  • Holy_See_Vatican_City
  • Armenia
  • Monaco
  • Russia
  • El_Salvador
  • Costa_Rica
  • Saudi_Arabia
  • Algeria

You can’t perform that action at this time.