Help for this page

Select Code to Download


  1. or download this
    #1 how does the difference manifest itself
    
    ...
    # comapring 34298704 to 34298704 at 3 func=total_seconds prec=trunc ty
    +pe=total_ field=seconds
    ok 5 - total_seconds(trunc) (with time)
    # comapring 25.066667 to 25.066667 at 4 func=minutes prec= type= field
    +=minutes
    
  2. or download this
    t/test.t .. 1/60 #
    # comapring 4.000000 to 4.000000 at 0 func=seconds prec= type= field=s
    +econds
    ...
    # Expected 9527.417778 got 9527
    # comapring 9527.417778 to 9527.417778 at 10 func=total_hours prec= ty
    +pe=total_ field=hours
    /\/\/\/
    
  3. or download this
    use Class::MethodMaker
      new_with_init  => 'new',
    ...
                  _use_time_flag
                  )
                ]
    
  4. or download this
    sub hours {
        my $self = shift;
    ...
                       ? '%hv'
                       : '%hd')
    }