• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
零·红蝶
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2015年8月26日

System.DateUtils 4. IsValidDateTime... 有效时间判断
摘要: 编译版本:Delphi XE7function IsValidDate(const AYear, AMonth, ADay: Word): Boolean;function IsValidTime(const AHour, AMinute, ASecond, AMilliSecond: Word):... 阅读全文
posted @ 2015-08-26 16:11 零·红蝶 阅读(440) 评论(0) 推荐(0)
 
System.DateUtils 3. IsPM、IsAM 判断是否为上、下午
摘要: 编译版本:Delphi XE7function IsPM(const AValue: TDateTime): Boolean; inline;function IsAM(const AValue: TDateTime): Boolean;implementation// 判断是否为下午functio... 阅读全文
posted @ 2015-08-26 11:54 零·红蝶 阅读(159) 评论(0) 推荐(0)
 
System.DateUtils 2. IsInLeapYear 判断是否是闰年
摘要: 编译版本:Delphi XE7function IsInLeapYear(const AValue: TDateTime): Boolean;implementation// 判断是否是闰年function IsInLeapYear(const AValue: TDateTime): Boolean... 阅读全文
posted @ 2015-08-26 11:46 零·红蝶 阅读(264) 评论(0) 推荐(0)
 
System.DateUtils 1. DateOf、TimeOf 简单修饰功能
摘要: 编译版本:Delphi XE7{ Simple trimming functions } // 简单修饰功能function DateOf(const AValue: TDateTime): TDateTime; inline; // 获取日期function TimeOf(const AValue... 阅读全文
posted @ 2015-08-26 11:38 零·红蝶 阅读(239) 评论(0) 推荐(0)
 
System.DateUtils 0. 功能总览
摘要: { Simple trimming functions }function DateOf(const AValue: TDateTime): TDateTime; inline;function TimeOf(const AValue: TDateTime): TDateTime; inline;{... 阅读全文
posted @ 2015-08-26 11:30 零·红蝶 阅读(259) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3