NAME
DBIO::DB2::Storage::DateTimeFormat - Db2 datetime parser with a working time of day
VERSION
version 0.900007
DESCRIPTION
The datetime parser of DBIO::DB2::Storage. It is DateTime::Format::DB2 with parse_time and format_time of its own: parse_time of DateTime::Format::DB2 0.06 dies on every value ("year is a required parameter"), so a time column with inflate_datetime could not be read.
METHODS
parse_time
Reads HH:MM:SS, as DBD::DB2 returns a TIME, with an optional fraction. The DateTime is floating and stands on 1970-01-01, the day DBIO::InflateColumn::DateTime gives every time of day.
format_time
Writes HH:MM:SS, the form Db2 takes for a TIME in every locale. The date and the fraction of the DateTime are not written.
AUTHOR
DBIO & DBIx::Class Authors
COPYRIGHT AND LICENSE
Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.