Rose::...::Date(3pm)

πŸ’– NAME πŸ’–

okay so this is the Rose::DB::Object::Metadata::Column::Date page β€” manual section 3pm, from the User Contributed Perl Documentation crew β€” and it is literally the Date column metadata class. It’s giving β€œI keep date-column metadata and I know it” πŸ’….

✨ SYNOPSIS ✨

bestie, here’s the exact starter pack, no cap:

use Rose::DB::Object::Metadata::Column::Date;

$col = Rose::DB::Object::Metadata::Column::Date->new(...);
$col->make_methods(...);
...

🌸 DESCRIPTION 🌸

Instances of this class are the little record-keepers for date-column metadata in a database. Column metadata objects store info about columns (data type, size, etc.) and they’re responsible for creating the object methods that manipulate column values.

This class inherits from Rose::DB::Object::Metadata::Column. Inherited methods that are not overridden will not be documented a second time here, so peep the Rose::DB::Object::Metadata::Column documentation for more information 🫢.

πŸ—ΊοΈ METHOD MAP πŸ—ΊοΈ

Here’s how the method map shakes out, fr fr:

  • "get_set" β€” Rose::DB::Object::MakeMethods::Date, date, "interface => 'get_set', ..."
  • "get" β€” Rose::DB::Object::MakeMethods::Date, date, "interface => 'get', ..."
  • "set" β€” Rose::DB::Object::MakeMethods::Date, date, "interface => 'set', ..."

See the Rose::DB::Object::Metadata::Column documentation for an explanation of this method map.

πŸ› οΈ OBJECT METHODS πŸ› οΈ

  • parse_value DB, VALUE β€” converts VALUE to the equivalent DateTime object. VALUE may be returned unmodified if it’s a valid date 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. 🚨
  • time_zone [TZ] β€” get or set the time zone of the dates stored in this column. TZ should be a time zone name that is understood by DateTime::TimeZone 🌈.
  • type β€” returns date.

πŸ‘‘ AUTHOR πŸ‘‘

John C. Siracusa (siracusa@gmail.com) β€” author, icon, legend πŸ’œ.

πŸ“œ 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 🫢 β€” source/version is perl v5.40.1, and the date is 2025-08-21 βœ¨πŸ’–

πŸ“¦ where this page comes from