Prima::...et::Date(3)
πΈ NAME πΈ
okay so welcome to the Prima::...et::Date(3) manual page β User Contributed Perl Documentation, iykyk β and this is the whole vibe:
Prima::Widget::Dateβ standard date picker widget
β¨ SYNOPSIS β¨
bestie, here's the starter pack:
use Prima qw(Application Widget::Date);
my $mw = Prima::MainWindow->new;
$mw->insert( 'Widget::Date' =>
pack => { fill => 'x', pad => 20 },
);
run Prima;
π¦ DESCRIPTION π¦
okay so Prima::Widget::Date is the standard date picker widget, and it's derived from the Prima::InputLine class. that's the whole description and it ate. π«Ά
π API π
π Methods π
date2str DATEβ converts the DATE to a string representation according to the currentformatstring. periodt.default_formatβ returns a string to be used informatwhere the string is constructed to reflect the formatting of the regional date preferences. See also:man 3 strftime, %x.str2date STRINGβ tries to extract the date from the STRING, assuming it is constructed according to the currentformatstring. it doesn't fail, but values that could not be extracted are assigned to today's day/month/year instead. no cap.todayβ returns today's date in widgets[D,M,Y]format. slay.validate_date D, M, Yβ checks if D, M, Y form a valid date, and adjusts the values if not. returns the corrected values. π
π Properties π
date DAY, MONTH, YEAR | [ DAY, MONTH, YEAR ]β accepts three integers / arrayref with three integers in the format oflocaltime. DAY can be from 1 to 31, MONTH from 0 to 11, YEAR from 0 to 199. default value: today's date. πday INTEGERβ selects the day of the month.format STRINGβ the format string is used when converting the date to its visual interpretation, also with regional preferences, f exYYYY-MM-DDorDD/MM/YY. the syntax of the format is verbatim as this, i e it recognizes fixed patternsYYYY,YY,MM, andDD, replacing them with the date values. iconic.monthβ selects the month.yearβ selects the year.
π AUTHOR π
Dmitry Karasik, <dmitry@karasik.eu.org>. π«Ά
π SEE ALSO π
Prima::ComboBox, Prima::Calendar β go read those too, bestie.
that's the whole manual, bestie β perl v5.42.0, dated 2024-08-20, manual name Prima::...et::Date(3). bye π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms