Calendar-Persian

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.39  Sun Apr 07 09:35:00 2019
      - Updated dependency on Calendar::Plugin::Renderer v0.14.

0.38  Thu Mar 28 13:20:00 2019
      - Updated dependency on Date::Persian::Simple v0.21.

0.37  Tue Nov 27 09:35:00 2018
      - Upgraded to use Date::Persian::Simple v0.20.

0.36  Wed Nov 14 14:20:00 2018
      - Used namespace::autoclean instead.

0.35  Fri Jan 27 14:00:00 2017
      - Upgraded to use Date::Persian::Simple v0.17.

0.34  Wed Jan 11 10:20:00 2017
      - Added dependency on Calendar::Plugin::Renderer v0.12.
      - Removed method validate_params(), no longer required.

0.33  Wed Jan 04 02:10:00 2017
      - Added sample code for method as_text() in the SYNOPSIS section.

META.json  view on Meta::CPAN

      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "Calendar::Plugin::Renderer" : "0.15",
            "Date::Persian::Simple" : "0.25",
            "Moo" : "2.000000",
            "namespace::autoclean" : "0.28",
            "perl" : "5.006"
         }
      }
   },
   "provides" : {
      "Calendar::Persian" : {
         "file" : "lib/Calendar/Persian.pm",
         "version" : "0.45"
      }
   },

META.yml  view on Meta::CPAN

    - t
    - inc
provides:
  Calendar::Persian:
    file: lib/Calendar/Persian.pm
    version: '0.45'
requires:
  Calendar::Plugin::Renderer: '0.15'
  Date::Persian::Simple: '0.25'
  Moo: '2.000000'
  namespace::autoclean: '0.28'
  perl: '5.006'
resources:
  repository: https://github.com/manwar/Calendar-Persian.git
version: '0.45'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

    CONFIGURE_REQUIRES => {
        'ExtUtils::MakeMaker' => 0,
    },
    BUILD_REQUIRES => {
        'Test::More'        => 0,
        'File::Temp'        => 0,
        'XML::SemanticDiff' => 0,
    },
    PREREQ_PM => {
        'Moo'                        => '2.000000',
        'namespace::autoclean'       => '0.28',
        'Date::Persian::Simple'      => '0.25',
        'Calendar::Plugin::Renderer' => '0.15',
    },
    dist  => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean => { FILES => 'Calendar-Persian-*' },
    (eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (META_MERGE => {
        'meta-spec' => { version => 2 },
        provides    => {
            'Calendar::Persian' => { file => 'lib/Calendar/Persian.pm', version => '0.45' },
        },

lib/Calendar/Persian.pm  view on Meta::CPAN


Version 0.45

=cut

use 5.006;
use Data::Dumper;

use Date::Persian::Simple;
use Moo;
use namespace::autoclean;
with 'Calendar::Plugin::Renderer';

use overload q{""} => 'as_string', fallback => 1;

has year  => (is => 'rw', predicate => 1);
has month => (is => 'rw', predicate => 1);
has date  => (is => 'ro', default   => sub { Date::Persian::Simple->new });

sub BUILD {
    my ($self) = @_;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.916 second using v1.00-cache-2.02-grep-82fe00e-cpan-c98054f2a92 )