Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    DateTime::TimeZone::Tzfile 0.007

    Download button

    No screenshots available
    Downloads: 394  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Andrew Main | More programs
    Perl Artistic License / FREE
    September 21st, 2012, 01:38 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    DateTime::TimeZone::Tzfile description

    A Perl module that contains tzfile (zoneinfo) timezone files.

    DateTime::TimeZone::Tzfile is a Perl module that contains tzfile (zoneinfo) timezone files.

    SYNOPSIS

    use DateTime::TimeZone::Tzfile;

    $tz = DateTime::TimeZone::Tzfile->new("/etc/localtime");

    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 encoded in a file in the tzfile(5) format. These can express arbitrary patterns of offsets from Universal Time, changing over time. Offsets and change times are limited to a resolution of one second.

    This class implements the DateTime::TimeZone interface, so that its instances can be used with DateTime objects.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    timezone files | zoneinfo files | Perl module | DateTime::TimeZone:: | tzfile | zoneinfo

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM