• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/DateTime/H03-Jul-2016-12125

t/H03-Jul-2016-138

ChangesH A D03-Jul-20161.2 KiB3023

LICENSEH A D03-Jul-20167.3 KiB144114

MANIFESTH A D03-Jul-2016191 1211

META.jsonH A D03-Jul-20161.2 KiB5149

META.ymlH A D03-Jul-2016690 2827

Makefile.PLH A D03-Jul-20161.3 KiB6049

READMEH A D03-Jul-20161.6 KiB7044

dist.iniH A D03-Jul-2016292 2016

README

1NAME
2    DateTime::Functions - Procedural interface to DateTime functions
3
4VERSION
5    This document describes version 0.10 of DateTime::Functions, released
6    December 9, 2010
7
8SYNOPSIS
9        use DateTime::Functions;
10        print today->year;
11        print now->strftime("%Y-%m-%d %H:%M:%S");
12
13DESCRIPTION
14    This module simply exports all class methods of DateTime into the
15    caller's namespace.
16
17METHODS
18    Unless otherwise noted, all methods correspond to the same-named class
19    method in DateTime. Please see DateTime for which parameters are
20    supported.
21
22  Constructors
23    All constructors can die when invalid parameters are given. They all
24    return "DateTime" objects, except for "duration()" which returns a
25    "DateTime::Duration" object.
26
27    *   datetime( ... )
28
29        Equivalent to "DateTime->new( ... )".
30
31    *   duration( ... )
32
33        Equivalent to "DateTime::Duration->new( ... )".
34
35    *   from_epoch( epoch => $epoch, ... )
36
37    *   now( ... )
38
39    *   today( ... )
40
41    *   from_object( object => $object, ... )
42
43    *   last_day_of_month( ... )
44
45    *   from_day_of_year( ... )
46
47  Utility Functions
48    *   default_locale( $locale )
49
50        Equivalent to "DateTime->DefaultLocale( $locale )".
51
52    *   compare
53
54    *   compare_ignore_floating
55
56SEE ALSO
57    DateTime
58
59AUTHORS
60    唐鳳 <cpan@audreyt.org>
61
62CC0 1.0 Universal
63    To the extent possible under law, 唐鳳 has waived all copyright and
64    related or neighboring rights to DateTime-Functions.
65
66    This work is published from Taiwan.
67
68    <http://creativecommons.org/publicdomain/zero/1.0>
69
70