Importing package for p5 module DateTime::Format::Oracle version 0.05
into time/p5-DateTime-Format-Oracle. This module may be used to convert Oracle date and timestamp values into DateTime objects. It also can take a DateTime object and produce a date string matching the NLS_DATE_FORMAT. Oracle has flexible date formatting via its NLS_DATE_FORMAT session variable. Date values will be returned from Oracle according to the current value of that variable. Date values going into Oracle must also match the current setting of NLS_DATE_FORMAT. Timestamp values will match either the NLS_TIMESTAMP_FORMAT or NLS_TIMESTAMP_TZ_FORMAT session variables. This module keeps track of these Oracle session variable values by examining environment variables of the same name. Each time one of Oracle's formatting session variables is updated, the %ENV hash must also be updated.
This commit is contained in:
parent
1813ae6fce
commit
2c368dc4aa
3 changed files with 43 additions and 0 deletions
16
time/p5-DateTime-Format-Oracle/DESCR
Normal file
16
time/p5-DateTime-Format-Oracle/DESCR
Normal file
|
@ -0,0 +1,16 @@
|
|||
This module may be used to convert Oracle date and timestamp values into
|
||||
DateTime objects. It also can take a DateTime object and produce a date
|
||||
string matching the NLS_DATE_FORMAT.
|
||||
|
||||
Oracle has flexible date formatting via its NLS_DATE_FORMAT session
|
||||
variable. Date values will be returned from Oracle according to the current
|
||||
value of that variable. Date values going into Oracle must also match the
|
||||
current setting of NLS_DATE_FORMAT.
|
||||
|
||||
Timestamp values will match either the NLS_TIMESTAMP_FORMAT or
|
||||
NLS_TIMESTAMP_TZ_FORMAT session variables.
|
||||
|
||||
This module keeps track of these Oracle session variable values by
|
||||
examining environment variables of the same name. Each time one of
|
||||
Oracle's formatting session variables is updated, the %ENV hash must
|
||||
also be updated.
|
22
time/p5-DateTime-Format-Oracle/Makefile
Normal file
22
time/p5-DateTime-Format-Oracle/Makefile
Normal file
|
@ -0,0 +1,22 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2010/09/07 05:51:00 sno Exp $
|
||||
|
||||
DISTNAME= DateTime-Format-Oracle-0.05
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= time perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://search.cpan.org/dist/DateTime-Format-Oracle/
|
||||
COMMENT= Parse and format Oracle dates and timestamps
|
||||
LICENSE= ${PERL5_LICENSE}
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
DEPENDS+= p5-Convert-NLS_DATE_FORMAT-[0-9]*:../../time/p5-Convert-NLS_DATE_FORMAT
|
||||
DEPENDS+= p5-DateTime-[0-9]*:../../time/p5-DateTime
|
||||
DEPENDS+= p5-DateTime-Format-Builder-[0-9]*:../../time/p5-DateTime-Format-Builder
|
||||
|
||||
PERL5_PACKLIST= auto/DateTime/Format/Oracle/.packlist
|
||||
|
||||
.include "../../lang/perl5/module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
5
time/p5-DateTime-Format-Oracle/distinfo
Normal file
5
time/p5-DateTime-Format-Oracle/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2010/09/07 05:51:00 sno Exp $
|
||||
|
||||
SHA1 (DateTime-Format-Oracle-0.05.tar.gz) = f04fc7ae95360c5ffb847ba42ee1b68b39f64946
|
||||
RMD160 (DateTime-Format-Oracle-0.05.tar.gz) = 7571fa702ff55227cc57665b5705e66d37320b79
|
||||
Size (DateTime-Format-Oracle-0.05.tar.gz) = 5781 bytes
|
Loading…
Reference in a new issue