类库说明文档
JHDateTime Class |
针对 DateTime 数据的特殊处理,该类为密封类
Inheritance Hierarchy
Namespace: DCSoft.Utility
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class JHDateTime
The JHDateTime type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetChineseWeek |
获取当前日期是星期几
| |
GetChineseZodiac |
根据公历(阳历)日期,获取该年份对应的十二生肖
| |
GetHashCode | (Inherited from Object.) | |
GetLunisolarCalendar |
根据公历(阳历)获取农历日期
| |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
See Also