1Rose::DB::Object::MetadUastear::CCoonlturRmionbs:ue:t:De:adDtBeP:te:irOmlbej(De3oc)ctu:m:eMnettaatdiaotna::Column::Datetime(3)
2
3
4
6 Rose::DB::Object::Metadata::Column::Datetime - Datetime column
7 metadata.
8
10 use Rose::DB::Object::Metadata::Column::Datetime;
11
12 $col = Rose::DB::Object::Metadata::Column::Datetime->new(...);
13 $col->make_methods(...);
14 ...
15
17 Objects of this class store and manipulate metadata for datetime
18 columns in a database. Column metadata objects store information about
19 columns (data type, size, etc.) and are responsible for creating object
20 methods that manipulate column values.
21
22 This class inherits from Rose::DB::Object::Metadata::Column::Date.
23 Inherited methods that are not overridden will not be documented a
24 second time here. See the Rose::DB::Object::Metadata::Column::Date
25 documentation for more information.
26
28 "get_set"
29 Rose::DB::Object::MakeMethods::Date, datetime, "type => 'datetime',
30 interface => 'get_set', ..."
31
32 "get"
33 Rose::DB::Object::MakeMethods::Date, datetime, "type => 'datetime',
34 interface => 'get', ..."
35
36 "set"
37 Rose::DB::Object::MakeMethods::Date, datetime, "type => 'datetime',
38 interface => 'set', ..."
39
40 See the Rose::DB::Object::Metadata::Column documentation for an
41 explanation of this method map.
42
44 parse_value DB, VALUE
45 Convert VALUE to the equivalent DateTime object. VALUE maybe
46 returned unmodified if it is a valid datetime keyword or otherwise
47 has special meaning to the underlying database. DB is a Rose::DB
48 object that is used as part of the parsing process. Both arguments
49 are required.
50
51 time_zone [TZ]
52 Get or set the time zone of the values stored in this column. TZ
53 should be a time zone name that is understood by
54 DateTime::TimeZone.
55
56 type
57 Returns "datetime".
58
60 John C. Siracusa (siracusa@gmail.com)
61
63 Copyright (c) 2010 by John C. Siracusa. All rights reserved. This
64 program is free software; you can redistribute it and/or modify it
65 under the same terms as Perl itself.
66
67
68
69perl v5.32.0 Ros2e0:2:0D-B0:7:-O2b8ject::Metadata::Column::Datetime(3)