mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Date::Business provides the functionality to perform simple date manipulations
quickly. Support for calendar date and business date math is provided. Business dates are weekdays only. Adding 1 to a weekend returns Monday, subtracting 1 returns Friday. The difference in business days between Friday and the following Monday (using the diffb function) is one business day. The number of business days between Friday and the following Monday (using the betweenb function) is zero.
This commit is contained in:
parent
dae08b7c51
commit
ffb8f0807f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278974
5 changed files with 38 additions and 0 deletions
|
@ -1458,6 +1458,7 @@
|
|||
SUBDIR += p5-Data-Validate
|
||||
SUBDIR += p5-Data-Visitor
|
||||
SUBDIR += p5-Data-Visitor-Encode
|
||||
SUBDIR += p5-Date-Business
|
||||
SUBDIR += p5-Date-Calc
|
||||
SUBDIR += p5-Date-Calc-Iterator
|
||||
SUBDIR += p5-Date-Calc-XS
|
||||
|
|
20
devel/p5-Date-Business/Makefile
Normal file
20
devel/p5-Date-Business/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
|||
# New ports collection makefile for: p5-Date-Business
|
||||
# Date created: Aug 05, 2011
|
||||
# Whom: Philip M. Gollucci <pgollucci@p6m7g8.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Date-Business
|
||||
PORTVERSION= 1.2
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= perl@FreeBSD.org
|
||||
COMMENT= Fast calendar and business date calculations
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Date::Business.3
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/p5-Date-Business/distinfo
Normal file
2
devel/p5-Date-Business/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Date-Business-1.2.tar.gz) = 2e7b573517d5d05f3006b9398936351d5b6fcb041184a16b781218abb15ad224
|
||||
SIZE (Date-Business-1.2.tar.gz) = 8201
|
10
devel/p5-Date-Business/pkg-descr
Normal file
10
devel/p5-Date-Business/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
|||
Date::Business provides the functionality to perform simple date manipulations
|
||||
quickly. Support for calendar date and business date math is provided.
|
||||
|
||||
Business dates are weekdays only. Adding 1 to a weekend returns Monday,
|
||||
subtracting 1 returns Friday.
|
||||
|
||||
The difference in business days between Friday and the following
|
||||
Monday (using the diffb function) is one business day. The
|
||||
number of business days between Friday and the following
|
||||
Monday (using the betweenb function) is zero.
|
5
devel/p5-Date-Business/pkg-plist
Normal file
5
devel/p5-Date-Business/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
%%SITE_PERL%%/Date/Business.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Date/Business/.packlist
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Date/Business
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Date
|
||||
@dirrmtry %%SITE_PERL%%/Date
|
Loading…
Add table
Reference in a new issue