Rose::...::Epoch(3pm)
πΈ NAME πΈ
okay so bestie, this whole page is about Rose::DB::Object::Metadata::Column::Epoch(3pm) β the metadata class for columns that store seconds since the epoch. It's literally: "Seconds since the epoch column metadata." π
β¨ SYNOPSIS β¨
the vibe is very much:
use Rose::DB::Object::Metadata::Column::Epoch;
$col = Rose::DB::Object::Metadata::Column::Epoch->new(...);
$col->make_methods(...);
...
π¦ DESCRIPTION π¦
Objects of this class store and manipulate metadata for columns in a database that store an integer number of seconds since the Unix epoch. Column metadata objects store information about columns (data type, size, etc.) and are responsible for creating object methods that manipulate column values. π«Ά
This class inherits from Rose::DB::Object::Metadata::Column::Date. Inherited methods that are not overridden will not be documented a second time here. See the Rose::DB::Object::Metadata::Column::Date documentation for more information, iykyk π
πΊοΈ METHOD MAP πΊοΈ
the method map is giving:
"get_set"βRose::DB::Object::MakeMethods::Date, epoch, ..."get"βRose::DB::Object::MakeMethods::Date, epoch, ..."get_set"βRose::DB::Object::MakeMethods::Date, epoch, ...
and yes, "get_set" is listed twice up there β that's exactly how the original map rolls, so we're keeping both. no cap π
See the Rose::DB::Object::Metadata::Column documentation for an explanation of this method map. π
π OBJECT METHODS π
π· parse_value DB, VALUE
Convert VALUE to the equivalent DateTime object. VALUE maybe returned unmodified if it has special meaning to the underlying database. DB is a Rose::DB object that is used as part of the parsing process. Both arguments are required. π
π type
Returns "epoch". periodt π
π AUTHOR π
John C. Siracusa (siracusa@gmail.com) π«‘
π LICENSE π
Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
this page lives in the User Contributed Perl Documentation, from perl v5.40.1, dated 2025-08-21 β bye bestie, mwah ππ«Ά
π¦ where this page comes from
- ubuntu resolute: librose-db-object-perl 1:0.822-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librose-db-object-perl 1:0.822-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms