DateTime::TimeZone::SystemVDateTime::TimeZone::SystemV is a Perl module with System V and POSIX timezone strings. | |
Download |
DateTime::TimeZone::SystemV Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Andrew Main
- Publisher web site:
- http://search.cpan.org/~zefram/
DateTime::TimeZone::SystemV Tags
DateTime::TimeZone::SystemV Description
DateTime::TimeZone::SystemV is a Perl module with System V and POSIX timezone strings. DateTime::TimeZone::SystemV is a Perl module with System V and POSIX timezone strings.SYNOPSIS use DateTime::TimeZone::SystemV; $tz = DateTime::TimeZone::SystemV->new("EST5EDT"); if($tz->is_floating) { ... if($tz->is_utc) { ... if($tz->is_olson) { ... $category = $tz->category; $tz_string = $tz->name; if($tz->has_dst_changes) { ... if($tz->is_dst_for_datetime($dt)) { ... $offset = $tz->offset_for_datetime($dt); $abbrev = $tz->short_name_for_datetime($dt); $offset = $tz->offset_for_local_datetime($dt);An instance of this class represents a timezone that was specified by means of a System V timezone string or the POSIX extended form of the same syntax. These can express a plain offset from Universal Time, or a system of two offsets (standard and daylight saving time) switching on a yearly cycle according to certain types of rule.This class implements the DateTime::TimeZone interface, so that its instances can be used with DateTime objects. Requirements: · Perl
DateTime::TimeZone::SystemV Related Software