1Rose::DB::Object::MetadUastear::CCoonlturminb:u:tRTeoidsmeeP:(e:3rD)lB:D:oOcbujmeecntt:a:tMieotnadata::Column::Time(3)
2
3
4
6 Rose::DB::Object::Metadata::Column::Time - Time column metadata.
7
9 use Rose::DB::Object::Metadata::Column::Time;
10
11 $col = Rose::DB::Object::Metadata::Column::Time->new(...);
12 $col->make_methods(...);
13 ...
14
16 Objects of this class store and manipulate metadata for time columns in
17 a database. Column metadata objects store information about columns
18 (data type, size, etc.) and are responsible for creating object methods
19 that manipulate column values.
20
21 This class inherits from Rose::DB::Object::Metadata::Column. Inherited
22 methods that are not overridden will not be documented a second time
23 here. See the Rose::DB::Object::Metadata::Column documentation for
24 more information.
25
27 "get_set"
28 Rose::DB::Object::MakeMethods::Generic, date, ...
29
30 "get"
31 Rose::DB::Object::MakeMethods::Time, date, ...
32
33 "get_set"
34 Rose::DB::Object::MakeMethods::Time, date, ...
35
36 See the Rose::DB::Object::Metadata::Column documentation for an
37 explanation of this method map.
38
40 parse_value DB, VALUE
41 Convert VALUE to the equivalent Time::Clock object. VALUE maybe
42 returned unmodified if it is a valid time keyword or otherwise has
43 special meaning to the underlying database. DB is a Rose::DB
44 object that is used as part of the parsing process. Both arguments
45 are required.
46
47 precision [INT]
48 Get or set the precision of the time value. The precision is the
49 total count of digits in the whole time. For example, 12:34 has a
50 precision of 4, and 12:34:56.12 has a precision of 8. The
51 precision value must be 2, 4, or greater than or equal to 6. The
52 default precision is 6. When the precision is set, the scale is
53 also set automatically.
54
55 scale [INT]
56 Get or set the integer number of places past the decimal point
57 preserved for fractional seconds. The default scale is 0. When
58 the scale is set, the precision is also set automatically.
59
60 Returns "time".
61
62 type
63 Returns "time".
64
66 John C. Siracusa (siracusa@gmail.com)
67
69 Copyright (c) 2010 by John C. Siracusa. All rights reserved. This
70 program is free software; you can redistribute it and/or modify it
71 under the same terms as Perl itself.
72
73
74
75perl v5.32.0 20R2o0s-e0:7:-D2B8::Object::Metadata::Column::Time(3)