NAME
App::HTMLCalendarMonth::Indonesia - Generate Indonesian monthly HTML
calendar
VERSION
This document describes version 0.05 of
App::HTMLCalendarMonth::Indonesia (from Perl distribution
App-HTMLCalendarMonth-Indonesia), released on 2014-05-26.
SYNOPSIS
# See gen-id-mon-calendar script for command-line usage
DESCRIPTION
FUNCTIONS
None are exported, but they are exportable.
gen_id_mon_calendar(%args) -> [status, msg, result, meta]
Generate Indonesian monthly HTML calendar.
This function uses HTML::CalendarMonth and Calendar::Indonesian::Holiday
to generate monthly HTML calendar, with Indonesian holidays marked as
CSS class (classes: sunday, holiday), and holiday names in TITLE
attributes.
Arguments ('*' denotes required arguments):
* holidays => *array*
If specified, use this list of holidays.
If not specified, list of holidays is retrieved from
Calendar::Indonesia::Holiday.
Should be a list of YYYY-MM-DD date strings
* month => *int*
Defaults to current month if not specified
* postprocess => *code*
If supplied, code will get HTML::Calendar object.
Can be used to customize the output further.
* year => *int*
Defaults to current year if not specified
Return value:
Returns an enveloped result (an array).
First element (status) is an integer containing HTTP status code (200
means OK, 4xx caller error, 5xx function error). Second element (msg) is
a string containing error message, or 'OK' if status is 200. Third
element (result) is optional, the actual result. Fourth element (meta)
is called result metadata and is optional, a hash that contains extra
information.
HOMEPAGE
Please visit the project's homepage at
.
SOURCE
Source repository is at
.
BUGS
Please report any bugs or feature requests on the bugtracker website
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.
AUTHOR
Steven Haryanto
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.