NAME

Calendar::DatesRoles::FromData - Provide Calendar::Dates interface to consumer which has __DATA__ section

VERSION

This document describes version 0.002 of Calendar::DatesRoles::FromData (from Perl distribution Calendar-DatesRoles-FromData), released on 2019-02-14.

DESCRIPTION

This role provides Calendar::Dates interface to modules that puts the entries in __DATA__ section. Entries should be in the following format:

YYYY-MM-DD;Summary;tag1,tag2

Blank lines or lines that start with # are ignored.

Examples:

2019-02-14;Valentine's day
2019-06-01;Pancasila day

METHODS

get_min_year

get_max_year

get_entries

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Calendar-DatesRoles-FromData.

SOURCE

Source repository is at https://github.com/perlancar/perl-Calendar-DatesRoles-FromData.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Calendar-DatesRoles-FromData

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

Calendar::Dates

Calendar::DatesRoles::FromEntriesVar

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 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.