Microsoft . 技术之路...

—— 专注于微软技术, 分享是快乐的源泉......
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2006年11月16日

摘要: public enum DateInterval{ Second, Minute, Hour, Day, Week, Month, Quarter, Year}public sealed class DateTimeManger{ private DateTimeManger() {}//end of default constructor public static l... 阅读全文

posted @ 2006-11-16 15:21 赣江源 阅读(1163) 评论(0) 推荐(1) 编辑

摘要: public enum DateInterval{ Second, Minute, Hour, Day, Week, Month, Quarter, Year}public sealed class DateTimeManger{ private DateTimeManger() {}//end of default constructor public static l... 阅读全文

posted @ 2006-11-16 15:21 赣江源 阅读(491) 评论(0) 推荐(0) 编辑

摘要: private double DateDiff(string howtocompare, System.DateTime startDate, System.DateTime endDate) { double diff=0; System.TimeSpan TS = new System.TimeSpan(endDate.Ticks-startDate.Ticks); swit... 阅读全文

posted @ 2006-11-16 15:18 赣江源 阅读(176) 评论(0) 推荐(0) 编辑

摘要: private double DateDiff(string howtocompare, System.DateTime startDate, System.DateTime endDate) { double diff=0; System.TimeSpan TS = new System.TimeSpan(endDate.Ticks-startDate.Ticks); swit... 阅读全文

posted @ 2006-11-16 15:18 赣江源 阅读(149) 评论(0) 推荐(0) 编辑