1Rose::DB::Object::MetadUastear::CCoonlturminb:uR:toEespdeo:cP:heD(rB3l:):DOobcjuemcetn:t:aMteitoandata::Column::Epoch(3)
2
3
4
6 Rose::DB::Object::Metadata::Column::Epoch - Seconds since the epoch
7 column metadata.
8
10 use Rose::DB::Object::Metadata::Column::Epoch;
11
12 $col = Rose::DB::Object::Metadata::Column::Epoch->new(...);
13 $col->make_methods(...);
14 ...
15
17 Objects of this class store and manipulate metadata for columns in a
18 database that store an integer number of seconds since the Unix epoch.
19 Column metadata objects store information about columns (data type,
20 size, etc.) and are responsible for creating object methods that
21 manipulate column values.
22
23 This class inherits from Rose::DB::Object::Metadata::Column::Date.
24 Inherited methods that are not overridden will not be documented a
25 second time here. See the Rose::DB::Object::Metadata::Column::Date
26 documentation for more information.
27
29 "get_set"
30 Rose::DB::Object::MakeMethods::Date, epoch, ...
31
32 "get"
33 Rose::DB::Object::MakeMethods::Date, epoch, ...
34
35 "get_set"
36 Rose::DB::Object::MakeMethods::Date, epoch, ...
37
38 See the Rose::DB::Object::Metadata::Column documentation for an
39 explanation of this method map.
40
42 parse_value DB, VALUE
43 Convert VALUE to the equivalent DateTime object. VALUE maybe
44 returned unmodified if it has special meaning to the underlying
45 database. DB is a Rose::DB object that is used as part of the
46 parsing process. Both arguments are required.
47
48 type
49 Returns "epoch".
50
52 John C. Siracusa (siracusa@gmail.com)
53
55 Copyright (c) 2010 by John C. Siracusa. All rights reserved. This
56 program is free software; you can redistribute it and/or modify it
57 under the same terms as Perl itself.
58
59
60
61perl v5.34.0 2R0o2s1e-:0:7D-B2:2:Object::Metadata::Column::Epoch(3)