File Coverage

blib/lib/HTML/FormHandler/Field/DateMDY.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package HTML::FormHandler::Field::DateMDY;
2             # ABSTRACT: m/d/y date field
3             $HTML::FormHandler::Field::DateMDY::VERSION = '0.40067';
4 1     1   1016 use HTML::FormHandler::Moose;
  1         1  
  1         10  
5             extends 'HTML::FormHandler::Field::Date';
6              
7             has '+format' => ( default => '%m/%d/%Y' );
8              
9              
10             __PACKAGE__->meta->make_immutable;
11 1     1   1709 use namespace::autoclean;
  1         2  
  1         9  
12             1;
13              
14             __END__
15              
16             =pod
17              
18             =encoding UTF-8
19              
20             =head1 NAME
21              
22             HTML::FormHandler::Field::DateMDY - m/d/y date field
23              
24             =head1 VERSION
25              
26             version 0.40067
27              
28             =head1 SYNOPSIS
29              
30             For date fields in the format nn/nn/nnnn. This simply inherits
31             from L<HTML::FormHandler::Field::Date> and sets the format
32             to "%m/%d/%Y".
33              
34             =head1 AUTHOR
35              
36             FormHandler Contributors - see HTML::FormHandler
37              
38             =head1 COPYRIGHT AND LICENSE
39              
40             This software is copyright (c) 2016 by Gerda Shank.
41              
42             This is free software; you can redistribute it and/or modify it under
43             the same terms as the Perl 5 programming language system itself.
44              
45             =cut