Rose::...terval(3pm)
πΈ Rose::DB::Object::Metadata::Column::Interval (3pm) πΈ
okay so bestie, this is a Perl 3pm man page from the User Contributed Perl Documentation for Rose::DB::Object::Metadata::Column::Interval β and yes, it's giving interval column metadata main character energy. Let's get into it π
β¨ NAME β¨
Rose::DB::Object::Metadata::Column::Interval β interval column metadata. That's the whole vibe: it's the metadata object for interval columns. π
π¦ SYNOPSIS π¦
use Rose::DB::Object::Metadata::Column::Interval;
$col = Rose::DB::Object::Metadata::Column::Interval->new(...);
$col->make_methods(...);
...
No cap, that's the shape of it: load the class, make a $col, call make_methods(...), and there's more where that came from (...). β¨
π DESCRIPTION π
Objects of this class store and manipulate metadata for interval columns in a database. Column metadata objects store information about columns (data type, size, etc.) and are responsible for creating object methods that manipulate column values. So yeah, they're little metadata baddies that know column facts and also produce methods for working with the values. π«Ά
This class inherits from Rose::DB::Object::Metadata::Column. Inherited methods that are not overridden will not be documented a second time here. See the Rose::DB::Object::Metadata::Column documentation for more information.
π METHOD MAP π
"get_set"βRose::DB::Object::MakeMethods::Generic, date, ..."get"βRose::DB::Object::MakeMethods::Time, date, ..."get_set"βRose::DB::Object::MakeMethods::Time, date, ...
Yep, "get_set" shows up twice and that's exactly how the map reads β do not come for me, I'm just reporting the vibes. π
See the Rose::DB::Object::Metadata::Column documentation for an explanation of this method map.
π OBJECT METHODS π
end_of_month_mode MODE
This mode determines how math is done on duration objects. If defined, the "end_of_month" setting for each DateTime::Duration object created by this column will have its mode set to MODE. Otherwise, the "end_of_month" parameter will not be passed to the DateTime::Duration constructor.
Valid modes are "wrap", "limit", and "preserve". See the documentation for DateTime::Duration for a full explanation. π«
parse_value DB, VALUE
Convert VALUE to the equivalent DateTime::Duration object. VALUE maybe returned unmodified if it is a valid interval keyword or otherwise 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. π₯
bestie, both arguments are required means both of them βDBandVALUEβ no skipping. π
scale [INT]
Get or set the integer number of places past the decimal point preserved for fractional seconds. Defaults to 0.
Returns "interval". π
type
Returns "interval". β
π AUTHOR π
John C. Siracusa (siracusa@gmail.com) β iconic, credited, periodt. π
π 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.
okay bye bestie! this page came from perl v5.40.1, dated 2025-08-21, and the footer tag is Rose::...terval(3pm) β stay hydrated and go parse some intervals π
β¨
π¦ 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