Time Period Library for .NETは4-4-5 Fiscal Calendarサポートしています。
// ----------------------------------------------------------------------
public void FiscalYearLastDay()
{
ITimeCalendar calendar = new TimeCalendar(new TimeCalendarConfig
{
YearType = YearType.FiscalYear,
YearBaseMonth = YearMonth.September,
FiscalFirstDayOfYear = DayOfWeek.Sunday,
FiscalYearAlignment = FiscalYearAlignment.LastDay,
FiscalQuarterGrouping = FiscalQuarterGrouping.FourFourFiveWeeks
});
Years years = new Years(2005, 14, calendar);
foreach (Year year in years.GetYears())
{
Console.WriteLine("Fiscal year {0}: {1} - {2}", year.YearValue,
year.Start.ToString("yyyy-MM-dd"), year.End.ToString("yyyy-MM-dd"));
}
} // FiscalYearLastDay