App-calendr
view release on metacpan or search on metacpan
lib/App/calendr/Option.pm view on Meta::CPAN
package App::calendr::Option;
$App::calendr::Option::VERSION = '0.26';
$App::calendr::Option::AUTHORITY = 'cpan:MANWAR';
=head1 NAME
App::calendr::Option - Option as Moo Role for App::calendr.
=head1 VERSION
Version 0.26
=cut
use 5.006;
use Data::Dumper;
use Moo::Role;
use namespace::autoclean;
use Types::Standard -all;
use MooX::Options;
has calendars => (is => 'rw');
option name => (is => 'ro', order => 1, isa => Str, format => 's', doc => "Calendar name e.g. Bahai,Gregorian,Hebrew,Hijri,Julian,Persian,Saka.\n\tDefault is Gregorian.");
option month => (is => 'ro', order => 2, isa => Str, format => 's', doc => 'Month number/name e.g. 1,2,3... or January,February...');
option year => (is => 'ro', order => 3, isa => Int, format => 'i', doc => 'Year number (3/4 digits)');
option gdate => (is => 'ro', order => 4, isa => Str, format => 's', doc => 'Gregorian date (YYYY-MM-DD)');
option jday => (is => 'ro', order => 5, isa => Str, format => 'i', doc => 'Julian day');
option as_svg => (is => 'ro', order => 6, doc => 'Generate calendar in SVG format');
option list_month_names => (is => 'ro', order => 7, doc => 'List calendar month names');
=head1 DESCRIPTION
B<FOR INTERNAL USE ONLY>
=head1 AUTHOR
Mohammad S Anwar, C<< <mohammad.anwar at yahoo.com> >>
=head1 REPOSITORY
L<https://github.com/manwar/App-calendr>
=head1 BUGS
Please report any bugs or feature requests to C<bug-app-calendr at rt.cpan.org>,
or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-calendr>.
I will be notified and then you'll automatically be notified of progress on your
bug as I make changes.
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc App::calendr::Option
You can also look for information at:
=over 4
=item * RT: CPAN's request tracker (report bugs here)
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-calendr>
=item * AnnoCPAN: Annotated CPAN documentation
L<http://annocpan.org/dist/App-calendr>
=item * CPAN Ratings
L<http://cpanratings.perl.org/d/App-calendr>
=item * Search CPAN
L<http://search.cpan.org/dist/App-calendr/>
=back
( run in 0.722 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )