DateTime

class DateTime

Parent:
Date

DateTime

A subclass of Date that easily handles date, hour, minute, second, and offset.

DateTime does not consider any leap seconds, does not track any summer time rules.

A DateTime object is created with ::new, ::jd, ::ordinal, ::commercial, ::parse, 登录查看完整内容