NAME

Class::DBI::Plugin::TimePiece::Oracle - Extension to Class::DBI for Oracle DATE type.

VERSION

This documentation refers to Class::DBI::Plugin::TimePiece::Oracle version 0.01

SYNOPSIS

 __PACKAGE__->has_a_auto_timepiece( INS_DATE );
 __PACKAGE__->has_a_atp( UPDATE_DATE );

DESCRIPTION

This module is Extensionto Class::DBI for Oracle DATE type. This module supports Oracle DATE TYPE limitedly. This module supports the following FORMAT.

 - YYYY
 - YY
 - RRRR
 - RR
 - MM
 - MON
 - MONTH
 - DD
 - HH
 - HH24
 - MI
 - SS

METHOD

has_a_auto_timepiece

This method is automatic related by useing Time::Piece for Oracle date type. This method need Class::DBI::Plugin::DateFormat::Oracle's get_nls_date_format method.

 __PACKAGE__->has_a_auto_timepiece( INS_DATE );

INS_DATE colum related to Time::Piece Object.

has_a_atp

has_a_atp is has_a_auto_timepiece'a alias.

_get_nls_date_format

_get_nls_date_format converts nls_date_format into Time::Piece format.

DEPENDENCIES

Carp, Time::Piece, Class::DBI::Plugin::DateFormat::Oracle

SEE ALSO

Carp, Time::Piece, Class::DBI::Plugin::DateFormat::Oracle

BUGS AND LIMITATIONS

There are no known bugs in this module. Please report problems to Atsushi Kobayashi (<nekokak@cpan.org>) Patches are welcome.

AUTHOR

Atsushi Kobayashi, <nekokak@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2005 by Atsushi Kobayashi (<nekokak@cpan.org>). All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.