GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DATA::PRINTER::FILTER::DATETIME (3)

.ds Aq ’

NAME

Data::Printer::Filter::DateTime - pretty-printing date and time objects (not just DateTime!)

CONTENTS

SYNOPSIS

In your program:



  use Data::Printer filters => {
    -external => [ DateTime ],
  };



or, in your .dataprinter file:



  {
    filters => {
       -external => [ DateTime ],
    },
  };



You can also setup color and display details:



  use Data::Printer
      filters => {
          -external => [ DateTime ],
      },
      color   => {
          datetime => bright_green,
      }
      datetime => {
          show_class_name => 1,  # default is 0
          show_timezone   => 0,  # default is 1 (only works for DateTime objects)
      },
  };



DESCRIPTION

This is a filter plugin for Data::Printer. It filters through several date and time manipulation classes and displays the time (or time duration) as a string.

    Parsed Modules

o DateTime
o DateTime::Duration
o DateTime::Incomplete
o Class::Date
o Time::Piece
o Date::Handler
o Date::Handler::Delta
o Date::Calc::Object
o Date::Pcalc::Object
If you have any suggestions for more modules or better output, please let us know.

SEE ALSO

Data::Printer
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DATA::PRINTER::FILTER::DATETIME (3) 2015-05-29

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.