NAME
Date::Say::Czech - Output dates as text as you would speak it
SYNOPSIS
use Date::Say::Czech;
print time_to_say(time());
print date_to_say($DAY, $MONTH, $YEAR);
DESCRIPTION
This module provides you with functions to easily convert a date (given as either integer values for day, month and year or as a unix timestamp) to its representation as czech text, like you would read it aloud.
EXPORTABLE TAGS
:ALL - all helper methods are also exported into the callers namespace
FUNCTIONS
Exported by default
- time_to_say($TIMESTAMP)
-
In scalar context, return a string consisting of the text representation of the date in the given unix timestamp, like e.g. "dvacátého pátého èervna dva tisíce pìt".
In list context, returns the three words of the string as a list.
- date_to_say($DAY, $MONTH, $YEAR)
-
Takes the values for day of month, month and year as integers (month starting with 1) and gives the same return values as time_to_say.
Exported by :ALL
- year_to_say($YEAR)
-
Takes a year (absolute integer value) as input and returns the text representation in Czech.
- month_to_speak($MONTH)
-
Takes a month (integer value, January = 1) as input and returns the text representation in Czech.
- day_to_say($DAY)
-
Converts a day number to its Czech text representation.
BUGS
Please report all bugs to the author of this module: Jiri Vaclavik <jiri.vaclavik@NOSPAMgmailNOSPAM.com>
Mail a BugAUTHOR
Jiri Vaclavik <jiri.vaclavik@NOSPAMgmailNOSPAM.com>
SEE ALSO
Date::Spoken::German from Christian Winter
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 38:
Non-ASCII character seen before =encoding in '"dvacátého'. Assuming CP1252