Renard::API::MuPDF::mutool::DateObject - An object to store the date
version 0.005
Moo::Object
A PDF date string in string which are in the form:
string
D:YYYYMMDDHHmmSSOHH'mm'
A HashRef in the form
HashRef
Dict[ year => Str, # YYYY month => Str, # MM: 01-12 day => Str, # DD: 01-31 hour => Str, # HH: 00-23 minute => Str, # mm: 00-59 second => Str, # SS: 00-59 tz => Dict[ offset => Str, # O: /[-+Z]/ hour => Str, # HH': 00-59 minute => Str, # mm': 00-59 ], ]
method as_DateTime() :ReturnType(InstanceOf['DateTime'])
Returns a DateTime representation of the date.
method stringify()
Returns a Str representation of the date.
Str
This follows the ISO 8601 format of
YYYY-MM-DDThh:mm:ss±hh:mm
which includes the timezone (either as an offset ±hh:mm or as Z for UTC) and using a T separator for the date and time.
±hh:mm
Z
T
Project Renard
This software is copyright (c) 2017 by Project Renard.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Renard::API::MuPDF::mutool, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Renard::API::MuPDF::mutool
CPAN shell
perl -MCPAN -e shell install Renard::API::MuPDF::mutool
For more information on module installation, please visit the detailed CPAN module installation guide.