DateTime::TimeZone::OlsonDB(3) User Contributed Perl Documentation DateTime::TimeZone::OlsonDB(3)NAME
DateTime::TimeZone::OlsonDB - An object to represent an Olson time zone database
VERSION
version 1.51
SYNOPSIS
none yet
DESCRIPTION
This module parses the Olson database time zone definition files and creates various objects representing time zone data.
Each time zone is broken down into several parts. The first piece is an observance, which is an offset from UTC and an abbreviation. A
single zone may contain many observances, reflecting historical changes in that time zone over time. An observance may also refer to a set
of rules.
Rules are named, and may apply to many different zones. For example, the "US" rules apply to most of the time zones in the US,
unsurprisingly. Rules are made of an offset from standard time and a definition of when that offset changes. Changes can be a one time
thing, or they can recur at regular times through a span of years.
Each rule may have an associated letter, which is used to generate an abbreviated name for the time zone, along with the offset's
abbreviation. For example, if the offset's abbreviation is "C%sT", and the a rule specifies the letter "S", then the abbreviation when
that rule is in effect is "CST".
USAGE
Not yet documented. This stuff is a mess.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.16.2 2012-10-17 DateTime::TimeZone::OlsonDB(3)
Check Out this Related Man Page
DateTime::TimeZone::OffsetOnly(3) User Contributed Perl Documentation DateTime::TimeZone::OffsetOnly(3)NAME
DateTime::TimeZone::OffsetOnly - A DateTime::TimeZone object that just contains an offset
VERSION
version 1.63
SYNOPSIS
my $offset_tz = DateTime::TimeZone->new( name => '-0300' );
DESCRIPTION
This class is used to provide the DateTime::TimeZone API needed by DateTime.pm, but with a fixed offset. An object in this class always
returns the same offset as was given in its constructor, regardless of the date.
USAGE
This class has the same methods as a real time zone object, but the "category()" method returns undef.
DateTime::TimeZone::OffsetOnly->new ( offset => $offset )
The value given to the offset parameter must be a string such as "+0300". Strings will be converted into numbers by the
"DateTime::TimeZone::offset_as_seconds()" function.
$tz->offset_for_datetime( $datetime )
No matter what date is given, the offset provided to the constructor is always used.
$tz->name()
$tz->short_name_for_datetime()
Both of these methods return the offset in string form.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.16.3 2013-10-28 DateTime::TimeZone::OffsetOnly(3)
It’s been a good few weeks for stories and information about JBoss Rules and Drools, the open source project upstream of the JBoss subscription offering. Here is a quick summary of the recent stories. Post a comment if you know of any others we all should pay attention to.
Pierre Fricke,... (0 Replies)
Homework Help:
On Posting Questions:
Any and all high school and undergraduate homework assignments or textbook style exercises for which you are seeking assistance are to be posted only in our Homework & Coursework Questions area--not in blogs, visitor messages, PMs, or the main technical... (0 Replies)
My local server is in UTC time whereas my remote server in in CST time.
I get a sequential file from CST time server and the records in will contain the first line as a filename and the second line as date time like mentioned below.
/abc/cde/f1.txt
2009-04-28 23:10:05 CST
Now i need to... (3 Replies)
hi all,
i want to write a script using vi editor ...the problem is given below...
Set the abbreviation for “Infosys Technologies Limited” as ITL and list it.
Type ITL in the insert mode and check whether the ITL is getting substituted by “Infosys Technologies Limited”
... (3 Replies)
Hi all,
I am working on a software, which was developed using C programming on unix environment. I have added certain functionality to the software.
Now, I interested in measuring time taken by new functionality (Mean value of huge amount of tests). Since new function will be part of many... (14 Replies)
Dear All,
I am very pleased to announce that Dave Munro (gull04) is joining the Moderation Team, after being a very valuable member of UNIX.com for 15+ years.
Dave is an IT Consultant with 30 years of experience this year, has worked in many of the industry vertical market segments and has... (6 Replies)