Method: DateTime#zone

Defined in:
ext/date/date_core.c

#zoneString

Returns the timezone.

DateTime.parse('04pm+0730').zone    #=> "+07:30"


5445
5446
5447
5448
5449
5450
# File 'ext/date/date_core.c', line 5445

static VALUE
d_lite_zone(VALUE self)
{
    get_d1(self);
    return m_zone(dat);
}