1Gtk2::Ex::FormFactory::UTsiemresCtoanmtpr(i3b)uted PerlGDtokc2u:m:eEnxt:a:tFioornmFactory::Timestamp(3)
2
3
4

NAME

6       Gtk2::Ex::FormFactory::Timestamp - Enter a valid timestamp
7

SYNOPSIS

9         Gtk2::Ex::FormFactory::Timestamp->new (
10           format    => A format string describing the the time fields
11           ...
12           Gtk2::Ex::FormFactory::Widget attributes
13         );
14

DESCRIPTION

16       This class implements a bunch of text entries to manage a valid
17       timestamp (date and time down to minute level). The object value is a
18       unix timestamp (in localtime).
19

OBJECT HIERARCHY

21         Gtk2::Ex::FormFactory::Intro
22
23         Gtk2::Ex::FormFactory::Widget
24         +--- Gtk2::Ex::FormFactory::Timestamp
25
26         Gtk2::Ex::FormFactory::Layout
27         Gtk2::Ex::FormFactory::Rules
28         Gtk2::Ex::FormFactory::Context
29         Gtk2::Ex::FormFactory::Proxy
30

ATTRIBUTES

32       Attributes are handled through the common get_ATTR(), set_ATTR() style
33       accessors, but they are mostly passed once to the object constructor
34       and must not be altered after the associated FormFactory was built.
35
36       format = SCALAR [optional]
37           This is a format string to define which timestamp fields should be
38           edited and how they should be displayed.
39
40           Format wildcards are defined as follows:
41
42             %Y    Year, four digits
43             %m    Month, two digits
44             %d    Day of month, two digits
45             %k    Hour of the day, two digits
46             %M    Minutes, two digits
47
48           Everything else in the format string will be rendered as labels
49           between the time field text entries.
50
51           The format string defaults to
52
53             %d.%m.%Y %k:%M
54
55           All time fields which are not part of the format string will get a
56           default value of 0.
57
58       For more attributes refer to Gtk2::Ex::FormFactory::Widget.
59

AUTHORS

61        Jörn Reder <joern at zyn dot de>
62
64       Copyright 2004-2006 by Jörn Reder.
65
66       This library is free software; you can redistribute it and/or modify it
67       under the terms of the GNU Library General Public License as published
68       by the Free Software Foundation; either version 2.1 of the License, or
69       (at your option) any later version.
70
71       This library is distributed in the hope that it will be useful, but
72       WITHOUT ANY WARRANTY; without even the implied warranty of
73       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
74       Library General Public License for more details.
75
76       You should have received a copy of the GNU Library General Public
77       License along with this library; if not, write to the Free Software
78       Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307
79       USA.
80

POD ERRORS

82       Hey! The above document had some coding errors, which are explained
83       below:
84
85       Around line 245:
86           Non-ASCII character seen before =encoding in 'Jörn'. Assuming UTF-8
87
88
89
90perl v5.34.0                      2021-07-22Gtk2::Ex::FormFactory::Timestamp(3)
Impressum