Pádraig Brady wrote:
> > Or do you mean, checking some calendar specific properties? Like
> > that the year in the Ethiopian calendar is either 7 or 8 years behind
> > the year in the Gregorian calendar?
> 
> Right. Some checks like latter, that I could add to the coreutils test suite.
> No worries if it's awkward / non general.

Here are some ideas:

* Thailand:
  Year = greg_year + 543.
  Month names that end in "คม" are exactly the months that have 31 days.

* Iran:
  Year = greg_year - 621 or 622.
  19 March and 22 March of the same greg. year are in different years.

* Ethiopia:
  Year = greg_year - 7 or 8.
  The first day of a year is Sept 12 if the next February has 29 days,
  otherwise it is Sept 11.
  Thus, Sept 10 and Sept 12 of the same greg. year are in different years.

Bruno




Reply via email to