Calendar-Dates-CFA
    
    
  
  
  
view release on metacpan or search on metacpan
{
   "abstract" : "CFA exam calendar",
   "author" : [
      "perlancar <perlancar@cpan.org>"
   ],
   "dynamic_config" : 0,
   "generated_by" : "Dist::Zilla version 6.014, CPAN::Meta::Converter version 2.150010",
   "license" : [
      "perl_5"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
---
abstract: 'CFA exam calendar'
author:
  - 'perlancar <perlancar@cpan.org>'
build_requires:
  File::Spec: '0'
  IO::Handle: '0'
  IPC::Open3: '0'
  Test::More: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 0
Makefile.PL view on Meta::CPAN
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.014.
use strict;
use warnings;
use 5.010001;
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
  "ABSTRACT" => "CFA exam calendar",
  "AUTHOR" => "perlancar <perlancar\@cpan.org>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "Calendar-Dates-CFA",
  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.010001",
  "NAME" => "Calendar::Dates::CFA",
  "PREREQ_PM" => {
    "Calendar::DatesRoles::DataPreparer::CalendarVar::FromDATA::Simple" => 0,
NAME
    Calendar::Dates::CFA - CFA exam calendar
VERSION
    This document describes version 20200505.0.0 of Calendar::Dates::CFA
    (from Perl distribution Calendar-Dates-CFA), released on 2020-05-05.
SYNOPSIS
  Using from Perl
     use Calendar::Dates::CFA;
     my $min_year = Calendar::Dates::CFA->get_min_year; # => 2018
     my $max_year = Calendar::Dates::CFA->get_max_year; # => 2020
       {
         date    => "2020-12-06",
         day     => 6,
         month   => 12,
         summary => "Exam day (APAC)",
         tags    => ["dec2020exam", "l1", "l2", "l3"],
         year    => 2020,
       },
     ]
  Using from CLI (requires list-calendar-dates and calx)
     % list-calendar-dates -l -m CFA
     % calx -c CFA
DESCRIPTION
    This module provides CFA exam calendar using the Calendar::Dates
    interface.
DATES STATISTICS
     +---------------+-------+
     | key           | value |
     +---------------+-------+
     | Earliest year | 2018  |
     | Latest year   | 2020  |
     +---------------+-------+
SEE ALSO
    <https://www.cfainstitute.org/programs/cfa>
    <https://en.wikipedia.org/wiki/Chartered_Financial_Analyst>
    Calendar::Dates
    App::CalendarDatesUtils contains CLIs to list dates from this module,
    etc.
    calx from App::calx can display calendar and highlight dates from
    Calendar::Dates::* modules
AUTHOR
    perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
    This software is copyright (c) 2020, 2019 by perlancar@cpan.org.
    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.
lib/Calendar/Dates/CFA.pm view on Meta::CPAN
        my $mentions_lvl3 = $entry->{summary} =~ /levels? II & III\b/i;
        my $is_dec = grep { /\Adec/ } @{ $entry->{tags} // [] };
        return 0 if $lvl == 1 && !$mentions_lvl1 && ($mentions_lvl2 || $mentions_lvl3);
        return 0 if $lvl == 2 && $is_dec || !$mentions_lvl2 && ($mentions_lvl1 || $mentions_lvl3);
        return 0 if $lvl == 3 && $is_dec || !$mentions_lvl3 && ($mentions_lvl1 || $mentions_lvl2);
    }
    1;
}
1;
# ABSTRACT: CFA exam calendar
=pod
=encoding UTF-8
=head1 NAME
Calendar::Dates::CFA - CFA exam calendar
=head1 VERSION
This document describes version 20200505.0.0 of Calendar::Dates::CFA (from Perl distribution Calendar-Dates-CFA), released on 2020-05-05.
=head1 SYNOPSIS
=head2 Using from Perl
 use Calendar::Dates::CFA;
lib/Calendar/Dates/CFA.pm view on Meta::CPAN
   {
     date    => "2020-12-06",
     day     => 6,
     month   => 12,
     summary => "Exam day (APAC)",
     tags    => ["dec2020exam", "l1", "l2", "l3"],
     year    => 2020,
   },
 ]
=head2 Using from CLI (requires L<list-calendar-dates> and L<calx>)
 % list-calendar-dates -l -m CFA
 % calx -c CFA
=head1 DESCRIPTION
This module provides CFA exam calendar using the L<Calendar::Dates> interface.
=head1 DATES STATISTICS
 +---------------+-------+
 | key           | value |
 +---------------+-------+
 | Earliest year | 2018  |
 | Latest year   | 2020  |
 +---------------+-------+
lib/Calendar/Dates/CFA.pm view on Meta::CPAN
=head1 SEE ALSO
L<https://www.cfainstitute.org/programs/cfa>
L<https://en.wikipedia.org/wiki/Chartered_Financial_Analyst>
L<Calendar::Dates>
L<App::CalendarDatesUtils> contains CLIs to list dates from this module, etc.
L<calx> from L<App::calx> can display calendar and highlight dates from Calendar::Dates::* modules
=head1 AUTHOR
perlancar <perlancar@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2020, 2019 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under
( run in 0.790 second using v1.01-cache-2.11-cpan-c333fce770f )