DateTime

class DateTime

Parent:
Object
Included modules:
DateAndTime::Zones

Public Class Methods

civil_from_format(utc_or_local, year, month=1, day=1, hour=0, min=0, sec=0) Show source

Returns DateTime with local offset for given year if format is local else offset is zero.

登录查看完整内容