.NET时间区间库

收录时间:2014-03-06
资源分类:C# 工具:Visual Studio 2005

C#实现的时间区间库,可以在日历控件中设置。

这是对DateTime 和 TimeSpan的增强版。

 

Time Period Library for .NET

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:

 

Support for individual time periods

Working with calendar periods within calendar years

Working with calendar periods deviating from the calendar year (fiscal or school periods)

Working with the broadcast calendar

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 the 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:

 

.NET Framework from Version 2

.NET Framework for Silverlight from Version 4

文件下载列表
TimePeriod_v1.zip (2.29MB)  
附件内容(只显示296中的10个)
AssemblyInfo.cs  VersionInfo.cs  Default.aspx  Silverlight.js  TimePeriod_en.pdf  ViewModel.cs  TimeSpanConverter.cs  TimePeriodObservableCollection.cs  TimePeriodMode.cs  MainPage.xaml.cs  
标签: 时间区间 
更多

目前尚无评论

用户反馈   关于我们
Copyright (©) ZHIHUISHI.COM 2013 All Rights Reserved.
京ICP备12012558号-7