summaryrefslogtreecommitdiffstats
path: root/devel/p5-Time-Period/pkg-descr
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Time-Period/pkg-descr')
-rw-r--r--devel/p5-Time-Period/pkg-descr9
1 files changed, 9 insertions, 0 deletions
diff --git a/devel/p5-Time-Period/pkg-descr b/devel/p5-Time-Period/pkg-descr
new file mode 100644
index 0000000..02505c9
--- /dev/null
+++ b/devel/p5-Time-Period/pkg-descr
@@ -0,0 +1,9 @@
+Period.pm is a Perl module that contains code to deal with time periods.
+Currently, there is only a function in this module. That function is
+called inPeriod().
+
+inPeriod() determines if a given time is within a given time period.
+It will return 1 if it is, 0 if not, and -1 if either the time or the
+period passed to it were malformed. The time is specified in non-leap
+year seconds past January 1, 1970, as per the time() function. The period
+is a string which is of the form described in Period's man page.
OpenPOWER on IntegriCloud