1 package DateTime::TimeZone::Local::VMS;
6 use base 'DateTime::TimeZone::Local';
9 sub Methods { return qw( FromEnv ) }
11 sub EnvVars { return qw( TZ SYS$TIMEZONE_RULE SYS$TIMEZONE_NAME UCX$TZ TCPIP$TZ ) }
20 DateTime::TimeZone::Local::VMS - Determine the local system's time zone on VMS
24 my $tz = DateTime::TimeZone->new( name => 'local' );
26 my $tz = DateTime::TimeZone::Local->TimeZone();
30 This module provides methods for determining the local time zone on a
33 NOTE: This is basically a stub pending an implementation by someone
34 who knows something about VMS.
36 =head1 HOW THE TIME ZONE IS DETERMINED
38 This class tries the following methods of determining the local time
45 We check the following environment variables:
51 =item * SYS$TIMEZONE_RULE
53 =item * SYS$TIMEZONE_NAME
65 Dave Rolsky, <autarch@urth.org>
67 =head1 COPYRIGHT & LICENSE
69 Copyright (c) 2003-2008 David Rolsky. All rights reserved. This
70 program is free software; you can redistribute it and/or modify it
71 under the same terms as Perl itself.
73 The full text of the license can be found in the LICENSE file included