Time::ZoneInfo man page on OpenMandriva

Man page or keyword search:  
man Server   8135 pages
apropos Keyword Search (all sections)
Output format
OpenMandriva logo
[printable version]

Time::ZoneInfo(3)     User Contributed Perl Documentation    Time::ZoneInfo(3)

NAME
       Time::ZoneInfo - Perl extension for returning a list of Time Zones...

SYNOPSIS
	       use Time::ZoneInfo;
	       my $zones = Time::ZoneInfo->new();
	       foreach my $zone ($zones->zones) {
		       # print $zone->zone . ' - ' . $zone->offset . "\n";
		       print $zone . "\n";
	       }

	       if (my $zone = Time::ZoneInfo->current_zone) {
		       my ($latitude, $longitude) = $zones->latitude_longitude_sexagesimal($zone);
		       print "$zone: ", $zones->country($zone), "  $latitude $longitude\n";
	       }

DESCRIPTION
       An OO interface to accessing a list of timezones. This is useful if you
       want to provide an interface for your user to choose one of the
       available time zones.

       Version 0.3.1 also gives the geolocalisation for a time zone.

METHODS
   new
       You can specify the zonetab file by passing in zonetab =>
       'file/location'

   regions
       Return an array (or array ref) to the list of regions

   zones ([region])
       Return zones (optionally just for one region)

   country (zone)
       Return the country associated with the given zone

   current_zone
       Return the current zone configured

   latitude_decimal(zone)
       Return the latitude for the given zone using decimal notation.

   latitude_sexagesimal(zone)
       Return the latitude for the given zone using sexagesimal notation (eg:
       51_30'30"N)

   longitude_decimal(zone)
       Return the longitude for the given zone using decimal notation.

   longitude_sexagesimal(zone)
       Return the longitude for the given zone using sexagesimal notation (eg:
       00_07'31"E)

   latitude_longitude_decimal(zone)
       Return a list of two elements: the latitude and longitude for the given
       zone using decimal notation.

   latitude_longitude_sexagesimal(zone)
       Return a list of two elements: the latitude and longitude for the given
       zone using sexagesimal notation (eg: 51_30'30"N and 00_07'31"E)

       =

ERRORS
       You can read $Time::ZoneInfo::ERROR for an error message at any time.

CONTRIBUTIONS
       Thanks to Richard Carver <cpan.org-rnc@thecarverzone.com> for finding
       issues processing comments.

       Pascal "Pixel" Rigaux added geolocalisation

AUTHOR
       Scot Penrose, <scott@cpan.org>

SEE ALSO
perl v5.16.3			  2014-02-10		     Time::ZoneInfo(3)
[top]

List of man pages available for OpenMandriva

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net