DateTimeX::Format::Excel::Types::Types - A Type::Tiny Excel DateTime type library
This is a type library for DateTimeX::Format::Excel It doesn't really have good context outside of that. It is built on Type::Tiny.
All type tests included with this package are considered to be the fixed definition of the types. Any definition not included in the testing is considered flexible.
This module uses Type::Tiny which can, in the background, use Type::Tiny::XS. While in general this is a good thing you will need to make sure that Type::Tiny::XS is version 0.010 or newer since the older ones didn't support the 'Optional' method.
Definition: How to know if a hash meets the DateTime hash requirements
Range
Dict[ year => Int, month => Optional[ Int ], day => Optional[ Int ], hour => Optional[ Int ], minute => Optional[ Int ], second => Optional[ Int ], nanosecond => Optional[ Int ], time_zone => Optional[ Str ], ]
Definition: An instance of a DateTime object
Definition: Numbers used by Microsoft Excel to descibe a point in time.
Range All numbers greater than or equal to 0
Definition: labels for the different Excel calculation rules and epoch start.
Range win_excel|apple_excel
Accepts: A DateTimeHash
Returns: A DateTime instance
Conversion Method: DateTime->new( $DateTimeHash );
github DateTimeX::Format::Excel/issues
1. Nothing yet
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
This software is copyrighted (c) 2014, 2015 by Jed Lund
version
DateTime
Type::Utils
Type::Library
Types::Standard
DateTime::Format::Excel
Smart::Comments - Turned on with $ENV{ Smart_Comments }
To install DateTimeX::Format::Excel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTimeX::Format::Excel
CPAN shell
perl -MCPAN -e shell install DateTimeX::Format::Excel
For more information on module installation, please visit the detailed CPAN module installation guide.