TimePeriodLibrary.NET 2.0.0

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
<PackageReference Include="TimePeriodLibrary.NET" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
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'.


This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.1 356,031 5/27/2017
2.1.0 2,002 5/24/2017
2.0.0 294,556 4/3/2014
1.7.2 5,367 11/23/2013
1.7.1 758 11/10/2013
1.7.0 457 11/7/2013
1.6.0 1,148 10/27/2013
1.5.0 1,192 10/1/2013
1.4.12 1,064 9/23/2013
1.4.11 17,501 9/4/2012
1.4.10 864 8/23/2012
1.4.9 1,019 5/17/2012