TimePeriodLibrary.NET 1.7.0

.NET Framework 3.5
There is a newer version of this package available.
See the version list below for details.
dotnet add package TimePeriodLibrary.NET --version 1.7.0
NuGet\Install-Package TimePeriodLibrary.NET -Version 1.7.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TimePeriodLibrary.NET" Version="1.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TimePeriodLibrary.NET --version 1.7.0
#r "nuget: TimePeriodLibrary.NET, 1.7.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TimePeriodLibrary.NET as a Cake Addin
#addin nuget:?package=TimePeriodLibrary.NET&version=1.7.0

// Install TimePeriodLibrary.NET as a Cake Tool
#tool nuget:?package=TimePeriodLibrary.NET&version=1.7.0

Extensive time period calculations and individual calendar periods.

Product Versions
.NET Framework net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Silverlight sl3-wp sl4 sl5
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on TimePeriodLibrary.NET:

Package Downloads

Package Description


Terradue .Net library for working with any SpatioTemporal Asset Catalog


Biblioteca para realizar calculos en relacion a reservaciones


Package Description


Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.1 2,844,699 5/27/2017
2.1.0 3,403 5/24/2017
2.0.0 517,960 4/3/2014
1.7.2 8,458 11/23/2013
1.7.1 1,556 11/10/2013
1.7.0 1,246 11/7/2013
1.6.0 2,115 10/27/2013
1.5.0 2,017 10/1/2013
1.4.12 1,930 9/23/2013
1.4.11 34,433 9/4/2012
1.4.10 1,702 8/23/2012
1.4.9 1,873 5/17/2012

- Library target framework changed from .Net 2.0 to 3.5.
- Time: Allowing maximum value for hours, minutes, seconds and milliseconds.
- Date/Time: Implemented interfaces IComparable, IComparable<>, IEquatable<>.
- ITimePeriodCollection: New property TotalDuration with the summary of all the item durations.
- IDurationProvider: New interface used for calculation of special durations, like DST.
- TimeZoneDurationProvider: Calculation of time zone specific durations.
 Based on the CLR class TimeZoneInfo.
 Handling of ambiguous and invalid DTS moments by custom callback functions.
 Exceptions AmbigiousMomentException and InvalidMomentException thrown in case of absent callbacks.
- ITimePeriod/ITimePeriodCollection: Support of duration provider by GetTotalDuration( IDurationProvider ).
- ITimePeriodCollection: New method GetTotalDuration to summarize all durations respecting the IDurationProvider.
- CalendardateDiff/DurationCalculator: Added support for IDurationProvider.
- DurationCalculator: Replaced method ExcludePeriods with property.
- DurationCalculator: New property IncludePeriods to specify including time periods.
- Fiscal-years: Added support for fiscal years starting within the previous calendar year.
 ITimeCalendar: New property FiscalYearBaseMonth specifying the month for the fiscal-year switch (default=July).
 ITimeCalendar: New method GetYear() to calculate the target year, respecting the FiscalYearBaseMonth.
 Year/Halfyear/Quarter: Added support for the FiscalYearBaseMonth.