TimePeriodLibrary.NET 2.0.0

Time Period Library for .NET

Extensive time period calculations and individual calendar periods.

There is a newer version of this package available.
See the version list below for details.
Install-Package TimePeriodLibrary.NET -Version 2.0.0
dotnet add package TimePeriodLibrary.NET --version 2.0.0
paket add TimePeriodLibrary.NET --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

DateDiff: New constructors with a TimeSpan.
Merged YearCalendarTimeRange into CalendarTimeRange.
ITimeFormatter: Added new properties to customize the duration separator and interval marker.
Optimized gap, intersection and overlap calculation algorythm:
 - Improved performance about 30% or more.
 - Refactored TimeLine, TimeLineMoment and TimeLineMommentCollection.
Added support for Account Calendar:
 - ITimeCalendar: Extended method GetYear with the parameter month.
 - ITimeCalendar/TimeCalendarConfig: New property FiscalFirstDayOfYear to control the first day of the year.
 - ITimeCalendar/TimeCalendarConfig: New property FiscalYearAlignment to control the year alignment.
 - ITimeCalendar/TimeCalendarConfig: New property FiscalQuarterGrouping to control the week grouping within a quarter.
 - Year/Halfyear/Quarter/Month: Added support the fiscal account calendar.
 - New utility class FiscalCalendarTool.
New documentation chapters 'Accounting Calendar' and 'TimeLine'.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
2.1.1 77,253 5/27/2017
2.1.0 1,030 5/24/2017
2.0.0 (current) 179,789 4/3/2014
1.7.2 4,725 11/23/2013
1.7.1 557 11/10/2013
1.7.0 274 11/7/2013
1.6.0 799 10/27/2013
1.5.0 980 10/1/2013
1.4.12 835 9/23/2013
1.4.11 10,948 9/4/2012
1.4.10 662 8/23/2012
1.4.9 733 5/17/2012