           a 	                                p  PEe                   #   эh^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                0  vmWN<3 phRC#@7&y                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    12345678
YD8.7/WFAST_Discovery_Regression_Copy_Print_EWS/Testcases_FirstPass/FS_19.151_Center_Shifttestset12345678
 summary12345678stime12345678
28800startdatewindow12345678
 startdateplanned123456786i    startdateactual12345678sortKeys12345678         
wfast   pat   isRE   isCS
   matchBlank   searchString   test_covered_by   
   matchBlank   searchString   isCS   isRE   
manual
po_signoff_pending
automation_inprogress
testchange_inprogress
request_for_automation   pat	   test_type      isRE
=WFAST_Copy-Print.dir/Testcases.dir/FS_19.151_Center_Shift.dir   pat   isEmpty
   matchBlank   isCS
   isNotEmpty   idselectors12345678
pauserunmode12345678      passresultCounters12345678    resList12345678    reqSelectors12345678reordered12345678numUntested12345678notified123456786i    mtime12345678locked12345678
0lastTest12345678isActive12345678    disabled12345678
FS_19.151_Center_Shiftdescription12345678    dbdata12345678currTest12345678Ch    ctime                    zcZH<*                    эh^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                12345678
      	   isDefault
Isolated_Network   value   network_tested   	   isDefault
Ipv4   value   net12345678
      	   isDefault
Isolated_Network   value   network_tested   	   isDefault
Ipv4   value   network_interface   
FPR-1   value	   isDefault   drp_pass   	   isDefault

Copy&Print   value   team   
Corrib   value	   isDefault   program   
	Test_Case   value	   isDefault   testing_type   	   isDefault
Chrome   value   browser   	   isDefault
Wired   value   network   	   isDefault
D8.7_Platform   value   branch_to_test   	   isDefault

Windows_XP   value   osvariables12345678
r73R77LMuser12345678tpno12345678    runSelectors12345678refreshable12345678numtests12345678
28800enddatewindow12345678
 enddateplanned123456786i    enddateactual12345678
 assignedtoD     TEST_0                    12345678   
123.xxx.005.33810   dvc_ver
ie_5   browser
wired   network
isolated_network   network_tested   
    atm_step_notes         
ie_5   raw
What Browser?   label
IE 5   content   browser   
*<div class='text'>123.xxx.005.33810</div>
   content
Device Software Version   label
123.xxx.005.33810   raw   dvc_ver   
r73R77LM   raw
Run By   label
Aluru Kirankumar (External)   content   user   
-   raw
Latest Execution Note   label
-   content   notetext   
    content
Problem Report Links   label
    raw
   atm_prlink   
    content
Print Driver Version   label
    raw
   driver_ver   
Isolated Network   content
Network Tested   label
isolated_network   raw   network_tested   
wired   raw
What network connection?   label
Wired   content   network   
1m   content
Actual Staff Time   label
1   raw   exectimestaff   
    content
Problem Report IDs   label
    raw   atm_prid   6i       raw
Last Execution Time   labelDec 8, 2025, 6:39:42 PM IST   content   when   

Windows XP   content

windows_xp   raw
What Operating System   label   os   
Result   label
pass   raw
!<font color='#64bd1b'>pass</font>   content   results   
Network Interface   label
ipv6   raw
Ipv6   content   network_interface   
Product Name   label
corrib   raw
Corrib   content   product
   1765199382   atm_rundatahistory
 
   driver_ver
corrib   product
pass   results   
    atm_step_results
 
   atm_prlink
h<span class='result' user='r73R77LM' when='1765199382' clocktime='' stafftime='1' result='pass'>-</span>   notes
r73R77LM   user
    atm_prid
1   exectimestaff6i       when
h<span class='result' user='r73R77LM' when='1765199382' clocktime='' stafftime='1' result='pass'>-</span>   note
$FBFBB79E-C7C8-11E8-BDAC-8B1CF1BA2977   atm_id
ipv6   network_interface

windows_xp   os
GWFAST_Copy-Print.dir/Testcases.dir/FS_19.151_Center_Shift.dir/20395.bts   id= $2 eq '<' ? $MINUS_ONE_DAY_DUR : $PLUS_ONE_DAY_DUR;

        while ( $dt->day_of_week != $dow ) {
            $dt += $dur;
        }

        return ( $dt->month, $dt->day );
    }
    else {
        die "Invalid on spec for rule: $day\n";
    }
}

sub utc_datetime_for_time_spec {
    my %p = @_;

    # 'w'all - ignore it, because that's the default
    $p{spec} =~ s/w$//;

    # 'g'reenwich, 'u'tc, or 'z'ulu
    my $is_utc = $p{spec} =~ s/[guz]$//;

    # 's'tandard time - ignore DS offset
    my $is_std = $p{spec} =~ s/s$//;

    ## no critic (NamingConventions::ProhibitAmbiguousNames)
    my ( $hour, $minute, $second ) = split /:/, $p{spec};
    $minute = 0 unless defined $minute;
    $second = 0 unless defined $second;

    my $add_day = 0;
    if ( $hour >= 24 ) {
        $hour    = $hour - 24;
        $add_day = 1;
    }

    my $utc;
    if ($is_utc) {
        $utc = DateTime->new(
            year      => $p{year},
            month     => $p{month},
            day       => $p{day},
            hour      => $hour,
            minute    => $minute,
            second    => $second,
            time_zone => 'floating',
        );
    }
    else {
        my $local = DateTime->new(
            year      => $p{year},
            month     => $p{month},
            day       => $p{day},
            hour      => $hour,
            minute    => $minute,
            second    => $second,
            time_zone => 'floating',
        );

        $p{offset_from_std} = 0 if $is_std;

        my $dur = DateTime::Duration->new(
            seconds => $p{offset_from_utc} + $p{offset_from_std} );

        $utc = $local - $dur;
    }

    $utc->add( days => 1 ) if $add_day;

    return $utc;
}

1;

# ABSTRACT: An object to represent an Olson time zone database

__END__

=pod

=encoding UTF-8

=head1 NAME

DateTime::TimeZone::OlsonDB - An object to represent an Olson time zone database

=head1 VERSION

version 2.63

=head1 SYNOPSIS

  none yet

=head1 DESCRIPTION

This module parses the Olson data