DateTime::TimeZone::Local::VMS - Determine the local system's time zone on VMS


DateTime-TimeZone documentation Contained in the DateTime-TimeZone distribution.

Index


Code Index:

NAME

Top

DateTime::TimeZone::Local::VMS - Determine the local system's time zone on VMS

VERSION

Top

version 1.34

SYNOPSIS

Top

  my $tz = DateTime::TimeZone->new( name => 'local' );

  my $tz = DateTime::TimeZone::Local->TimeZone();

DESCRIPTION

Top

This module provides methods for determining the local time zone on a VMS platform.

NOTE: This is basically a stub pending an implementation by someone who knows something about VMS.

HOW THE TIME ZONE IS DETERMINED

Top

This class tries the following methods of determining the local time zone:

* %ENV

We check the following environment variables:

* TZ
* SYS$TIMEZONE_RULE
* SYS$TIMEZONE_NAME
* UCX$TZ
* TCPIP$TZ

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


DateTime-TimeZone documentation Contained in the DateTime-TimeZone distribution.

package DateTime::TimeZone::Local::VMS;
BEGIN {
  $DateTime::TimeZone::Local::VMS::VERSION = '1.34';
}

use strict;
use warnings;

use parent 'DateTime::TimeZone::Local';

sub Methods { return qw( FromEnv ) }

sub EnvVars {
    return qw( TZ SYS$TIMEZONE_RULE SYS$TIMEZONE_NAME UCX$TZ TCPIP$TZ );
}

1;

# ABSTRACT: Determine the local system's time zone on VMS




__END__