Class-DBI-Plugin-TimePiece-Oracle

 view release on metacpan or  search on metacpan

lib/Class/DBI/Plugin/TimePiece/Oracle.pm  view on Meta::CPAN


=head1 NAME

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

=head1 VERSION

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

=head1 SYNOPSIS

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

=head1 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

=head1 METHOD

=head2 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.

=head2 has_a_atp

has_a_atp is has_a_auto_timepiece'a alias.

=head2 _get_nls_date_format

_get_nls_date_format converts nls_date_format into Time::Piece format.

=head1 DEPENDENCIES

L<Carp>, L<Time::Piece>, L<Class::DBI::Plugin::DateFormat::Oracle>

=head1 SEE ALSO

L<Carp>, L<Time::Piece>, L<Class::DBI::Plugin::DateFormat::Oracle>

=head1 BUGS AND LIMITATIONS

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

=head1 AUTHOR

Atsushi Kobayashi, E<lt>nekokak@cpan.orgE<gt>

=head1 COPYRIGHT AND LICENSE

Copyright (C) 2005 by Atsushi Kobayashi (E<lt>nekokak@cpan.orgE<gt>). All rights reserved.

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

=cut



( run in 1.153 second using v1.01-cache-2.11-cpan-39bf76dae61 )