Help for this page

Select Code to Download


  1. or download this
    I do not see in the code where Date::Manip methods are used
    
  2. or download this
    for my $delta ($delta_time, $delta_date){
    # the above are likely to be Date::Manip[::*] objects - which ones????
    ...
             # it calls e.g. this: $delta->total_seconds('trunc')
             # and it compares the returned result with an item from an ar
    +ray
             # of expected results $test_values[$test_index]
    
  3. or download this
    # comapring 571645.000000 to 571645 at 7 func=total_minutes prec=trunc
    + type=total_ field=minutes
    # comapring 9527.417778 to 23.417778 at 8 func=hours prec= type= field
    +=hours
    ...
    #   at t/test.t line 97.
    # Expected 9527.417778 got 9527
    # comapring 9527.417778 to 9527.417778 at 10 func=total_hours prec= ty
    +pe=total_ field=hours