Page 1 of 31 Version: 1.4.11.0
Time Period Library for .NET
Extensive time period calculations and individual calendar periods.
04/09/2012- Version 1.4.11.0
Introduction
When implementing some software for another project, I came across several requirements
involving calculations with time periods. These calculations were an important part of the solution
and had high demands in respect to the correctness and accuracy of the results.
The required functionality covered the following areas:
o Support for individual time periods
o Working with calendar periods within calendar years
o Working with calendar periods deviating from the calendar year (fiscal or school periods)
The time calculations should be made available to both server components (Web services and tasks)
as well as for a rich client (Silverlight).
Analyzing the situation brought me to the conclusion that neither the components of the .NET
framework (which I didn't expect) nor any other available tools would cover all requirements.
Because I already encountered similar needs in earlier projects, I decided to develop a generic
library for this purpose.
From several development cycles resulted the following library Time Period, which is now
available for the following .NET runtime environments:
o .NET Framework from Version 2
o .NET Framework for Silverlight from Version 4
o .NET Framework for Windows Phone from Version 7
To visualize some of the library functionality, I have put online the Silverlight application
Calendar Period Collector under http://www.cpc.itenso.com. It demonstrates the search for
calendar periods.