Skip to content

Commit

Permalink
Import of AUDREYT/DateTime-Functions-0.10 from CPAN.
Browse files Browse the repository at this point in the history
gitpan-cpan-distribution: DateTime-Functions
gitpan-cpan-version:      0.10
gitpan-cpan-path:         AUDREYT/DateTime-Functions-0.10.tar.gz
gitpan-cpan-author:       AUDREYT
gitpan-cpan-maturity:     released
  • Loading branch information
☻ 唐鳳 ☺ authored and Gitpan committed Oct 21, 2014
1 parent ee9fc8a commit d9d9025
Show file tree
Hide file tree
Showing 17 changed files with 1,987 additions and 455 deletions.
19 changes: 13 additions & 6 deletions Changes
@@ -1,6 +1,13 @@
____________________________________________________________________________
[ 8643] By: autrijus on 2003/11/01 06:14:05
Log: * 0.01, initial CPAN release.
+ MANIFEST Makefile.PL README
+ lib/DateTime/Functions.pm t/0-signature.t
+ t/1-basic.t
[Changes for 0.10 - 2010-12-09]

* LICENSING CHANGE: This compilation and all individual files in it
are now under the nullary CC0 1.0 Universal terms:

To the extent possible under law, 唐鳳 has waived all copyright and
related or neighboring rights to Module-Signature.

* Updated Module::Install to 1.00.

[Changes for 0.01 - 2003-11-01]

* Initial CPAN release.
4 changes: 4 additions & 0 deletions MANIFEST
@@ -1,8 +1,12 @@
Changes
inc/Module/Install.pm
inc/Module/Install/Base.pm
inc/Module/Install/Can.pm
inc/Module/Install/Fetch.pm
inc/Module/Install/Makefile.pm
inc/Module/Install/Metadata.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
lib/DateTime/Functions.pm
Makefile.PL
MANIFEST This list of files
Expand Down
30 changes: 19 additions & 11 deletions META.yml
@@ -1,15 +1,23 @@
name: DateTime-Functions
version: 0.01
abstract: Procedural interface to DateTime functions
author: Autrijus Tang (autrijus@autrijus.org)
license: unknown
---
abstract: 'Procedural interface to DateTime functions'
author:
- '唐鳳 <cpan@audreyt.org>'
build_requires:
ExtUtils::MakeMaker: 6.42
configure_requires:
ExtUtils::MakeMaker: 6.42
distribution_type: module
requires:
DateTime: 0
generated_by: 'Module::Install version 1.00'
license: cc0
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: DateTime-Functions
no_index:
directory:
- inc
private:
directory:
- inc
generated_by: Module::Install version 0.27
- t
requires:
DateTime: 0
perl: 5.6.0
version: 0.10
16 changes: 5 additions & 11 deletions Makefile.PL
@@ -1,16 +1,10 @@
#!/usr/bin/env perl
# $File: //member/autrijus/DateTime-Functions/Makefile.PL $ $Author: autrijus $
# $Revision: #1 $ $Change: 8643 $ $DateTime: 2003/11/01 06:14:05 $

use 5.006;
use inc::Module::Install;

name ( 'DateTime-Functions' );
abstract ( 'Procedural interface to DateTime functions' );
author ( 'Autrijus Tang (autrijus@autrijus.org)' );
version_from( 'lib/DateTime/Functions.pm' );
requires ( 'DateTime' );
sign ( 1 );
name 'DateTime-Functions';
license 'CC0';
all_from 'lib/DateTime/Functions.pm';
requires 'DateTime';

&Meta->write;
&Makefile->write;
sign; WriteAll;
78 changes: 60 additions & 18 deletions README
@@ -1,27 +1,69 @@
# $File: //member/autrijus/DateTime-Functions/README $ $Author: autrijus $
# $Revision: #1 $ $Change: 8643 $ $DateTime: 2003/11/01 06:14:05 $
NAME
DateTime::Functions - Procedural interface to DateTime functions

This is the README file for DateTime::Functions, a procedural interface
to DateTime functions.
VERSION
This document describes version 0.10 of DateTime::Functions, released
December 9, 2010

Please type "perldoc DateTime::Functions" after installation to see
the module usage information.
SYNOPSIS
use DateTime::Functions;
print today->year;
print now->strftime("%Y-%m-%d %H:%M:%S");

* Installation
DESCRIPTION
This module simply exports all class methods of DateTime into the
caller's namespace.

DateTime::Functions uses the standard perl module install process:
METHODS
Unless otherwise noted, all methods correspond to the same-named class
method in DateTime. Please see DateTime for which parameters are
supported.

cpansign -v # see SIGNATURE for details
perl Makefile.PL
make # or 'nmake' on Win32
make test
make install
Constructors
All constructors can die when invalid parameters are given. They all
return "DateTime" objects, except for "duration()" which returns a
"DateTime::Duration" object.

* Copyright
* datetime( ... )

Copyright 2003 by Autrijus Tang <autrijus@autrijus.org>.
Equivalent to "DateTime->new( ... )".

All rights reserved. You can redistribute and/or modify
this bundle under the same terms as Perl itself.
* duration( ... )

Equivalent to "DateTime::Duration->new( ... )".

* from_epoch( epoch => $epoch, ... )

* now( ... )

* today( ... )

* from_object( object => $object, ... )

* last_day_of_month( ... )

* from_day_of_year( ... )

Utility Functions
* default_locale( $locale )

Equivalent to "DateTime->DefaultLocale( $locale )".

* compare

* compare_ignore_floating

SEE ALSO
DateTime

AUTHORS
唐鳳 <cpan@audreyt.org>

CC0 1.0 Universal
To the extent possible under law, 唐鳳 has waived all copyright and
related or neighboring rights to DateTime-Functions.

This work is published from Taiwan.

<http://creativecommons.org/publicdomain/zero/1.0>

See <http://www.perl.com/perl/misc/Artistic.html>.
40 changes: 22 additions & 18 deletions SIGNATURE
@@ -1,35 +1,39 @@
This file contains message digests of all files listed in MANIFEST,
signed via the Module::Signature module, version 0.35.
signed via the Module::Signature module, version 0.66.

To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:

% cpansign -v

It would check each file's integrity, as well as the signature's
It will check each file's integrity, as well as the signature's
validity. If "==> Signature verified OK! <==" is not displayed,
the distribution may already have been compromised, and you should
not run its Makefile.PL or Build.PL.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SHA1 135d30ca7405dc910fd1ffe3fc0336210fb33afd Changes
SHA1 df644316412b2d72a8a974b29c1fb1d5429363f1 MANIFEST
SHA1 18ceb06d1d062a8f9e69982eb1979178e75eb3cb META.yml
SHA1 f2e187d7c18a75e7bebabce0134e393e30b6afac Makefile.PL
SHA1 1bd27abbe63cdf4280a1a266bb22e0ce086489d1 README
SHA1 8b4877cb0aae407fcb37a4ac31f2f943bfbe2fe4 inc/Module/Install.pm
SHA1 019bccc5b2e364447c6e6e150d049ca2a216598e inc/Module/Install/Base.pm
SHA1 8508e76cf6417588c0118ec85f7d56be15383c00 inc/Module/Install/Makefile.pm
SHA1 ef550fd641db011c741402b799ace0a446f8d8ec inc/Module/Install/Metadata.pm
SHA1 09ad99da7d8b2392ae565795c35c87c0c4c580b1 lib/DateTime/Functions.pm
SHA1 c6b531908434faf4cd9d947e0ad0cc05debd657a t/0-signature.t
SHA1 30374fe236fb42d52531a96fd9ecd86cb10d7d70 t/1-basic.t
SHA1 9c31fc060cca7f92ecac5750150944c377d3998c Changes
SHA1 10f77fff952dd3f342d1215dcaeb443202e1b22c MANIFEST
SHA1 5dc75366fdd0d81b8c24a7dd0699eb11501434da META.yml
SHA1 45026cdcbec164d2bc4109bda8fb14aa07b37e5c Makefile.PL
SHA1 7fd54eaa6bdd1a4c93de9ffde3dfec33c6e43fc4 README
SHA1 7305dbe2904416e28decb05396988a5d51d578be inc/Module/Install.pm
SHA1 129960509127732258570c122042bc48615222e1 inc/Module/Install/Base.pm
SHA1 cf3356ed9a5bd2f732527ef9e7bc5ef4458c8a93 inc/Module/Install/Can.pm
SHA1 bf0a3e1977effc2832d7a813a76dce3f31b437b6 inc/Module/Install/Fetch.pm
SHA1 b721c93ca5bc9a6aa863b49af15f1b1de6125935 inc/Module/Install/Makefile.pm
SHA1 026cc0551a0ad399d195e395b46bdf842e115192 inc/Module/Install/Metadata.pm
SHA1 5457015ea5a50e93465bf2dafa29feebd547f85b inc/Module/Install/Win32.pm
SHA1 051e7fa8063908befa3440508d0584a2497b97db inc/Module/Install/WriteAll.pm
SHA1 cf3d160cf4fc16be37424fe8954b6e9aa66eb0f1 lib/DateTime/Functions.pm
SHA1 41afe2c04bb573b40e283e2b210ed70a47a3f8ba t/0-signature.t
SHA1 2ee7875bec87cf169bfccdd339ee339be5734ef1 t/1-basic.t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
Version: GnuPG v1.4.10 (Darwin)

iD8DBQE/o0/4tLPdNzw1AaARArw9AJwJ/c76Sp5v4+6HvZ8lw97RZqbp9gCeIzIc
YNgYndMbMgDWMeChFT/l3do=
=9UZD
iEYEARECAAYFAkz/srEACgkQtLPdNzw1AaBCrACfYUrT8S1JKgMJ4oJD7NFkbHZi
uUsAn0KRgJyMGycHQiX7BcsJHQkayqTi
=cVOd
-----END PGP SIGNATURE-----

0 comments on commit d9d9025

Please sign in to comment.