TimePeriodLibrary.NET 2.0.0
Extensive time period calculations and individual calendar periods.
No packages depend on TimePeriodLibrary.NET.
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.
| 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 |