TimePeriodLibrary.NET 1.7.0
Extensive time period calculations and individual calendar periods.
No packages depend on TimePeriodLibrary.NET.
- 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.
This package has no dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 2.1.6 | 7 | 20.08.2025 |
| 2.1.5 | 5 | 21.08.2025 |
| 2.1.4 | 5 | 21.08.2025 |
| 2.1.3 | 5 | 21.08.2025 |
| 2.1.2 | 5 | 21.08.2025 |
| 2.1.1 | 6 | 21.08.2025 |
| 2.1.0 | 5 | 21.08.2025 |
| 2.0.0 | 5 | 21.08.2025 |
| 1.7.2 | 5 | 21.08.2025 |
| 1.7.1 | 5 | 21.08.2025 |
| 1.7.0 | 5 | 21.08.2025 |
| 1.6.0 | 5 | 21.08.2025 |
| 1.5.0 | 5 | 21.08.2025 |
| 1.4.12 | 5 | 21.08.2025 |
| 1.4.11 | 5 | 21.08.2025 |
| 1.4.10 | 5 | 21.08.2025 |
| 1.4.9 | 5 | 21.08.2025 |