> my $rules = [
  bless( {
    'at' => '1:00u',
    'from' => '1996',
    'in' => 'Oct',
    'letter' => '',
    'name' => 'EU',
    'offset_from_std' => 0,
    'on' => 'lastSun',
    'save' => '0',
    'to' => 'max',
    'type' => undef
  }, 'DateTime::TimeZone::OlsonDB::Rule' ),
  bless( {
    'at' => '1:00u',
    'from' => '1981',
    'in' => 'Mar',
    'letter' => 'S',
    'name' => 'EU',
    'offset_from_std' => 3600,
    'on' => 'lastSun',
    'save' => '1:00',
    'to' => 'max',
    'type' => undef
  }, 'DateTime::TimeZone::OlsonDB::Rule' )
]
;

The rules, are almost readable: for instance DST will start ( even if there's noreference 
to "start" ) in the last Sunday of March of any year equal or greater than 
1981. But, at what time? The rule is:

Continental Portugal > UTC+1 from the last Sunday in March at 01:00 to the last Sunday in October at 02:00 Europe/Lisbon

How do we figure this from the above ? - that I don't understand ( I must be 
blind or tired... ); and other situations with other values occurr with 
different countries.
Can someone explain me the calculations regarding every fields to get to the rule FROM THE PM CITY FILE ( this is important ! )? I would appreciate it very much - and it would save most of my time.

the 'save' parameter defines how much daylight is 'saved' ... 0 hours from 1am the lastSun of Oct, and 1 hours from 1pm on the lastSun of March

Cheers!
Rick Measham

Reply via email to