Rose::...ToMonth(3pm)
okay bestie, welcome to the Rose::...ToMonth(3pm) page from the User Contributed Perl Documentation β and it's lowkey all about Datetime year to month column metadata. no cap, let's get into it πβ¨
πΈ NAME πΈ
Rose::DB::Object::Metadata::Column::DatetimeYearToMonth β Datetime year to month column metadata. that's the whole name-and-description combo, and yes it's a mouthful π
π¦ SYNOPSIS π¦
use Rose::DB::Object::Metadata::Column::DatetimeYearToMonth;
$col =
Rose::DB::Object::Metadata::Column::DatetimeYearToMonth->new(...);
$col->make_methods(...);
...
π DESCRIPTION π
okay so objects of this class store and manipulate metadata for datetime year to month columns in a database. column metadata objects store info about columns β like data type, size, etc. β and they're responsible for creating object methods that manipulate column values. very main character behavior, honestly π
this class inherits from Rose::DB::Object::Metadata::Column::Datetime. inherited methods that are not overridden will not be documented a second time here, so if you need the full lore, see the Rose::DB::Object::Metadata::Column::Datetime documentation for more information π«Ά
and the DateTime objects stored by this column type automatically have the day set to the first of the month. cute, consistent, iconic π
π METHOD MAP π
get_setβ maps toRose::DB::Object::MakeMethods::Date,datetime, withtype => 'datetime year to month', interface => 'get_set', ...getβ maps toRose::DB::Object::MakeMethods::Date,datetime, withtype => 'datetime year to month', interface => 'get', ...setβ maps toRose::DB::Object::MakeMethods::Date,datetime, withtype => 'datetime year to month', interface => 'set', ...
see the Rose::DB::Object::Metadata::Column documentation for an explanation of this method map. iykyk β¨
π OBJECT METHODS π
parse_value DB, VALUE
convert VALUE to the equivalent DateTime object suitable for storage in a datetime year to month column. VALUE maybe returned unmodified if it is a valid datetime year to month 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, so don't skip either one π
type
returns datetime year to month. that's it, that's the vibe check β
π AUTHOR π
John C. Siracusa (siracusa@gmail.com) β author icon, honestly π«‘
π 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.
mwah π β this page is from perl v5.40.1, dated 2025-08-21, and yes bestie, it's the Rose::...ToMonth(3pm) page. bye and slay πβ¨
π¦ 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