| HTML-DateSelector documentation | view source | Contained in the HTML-DateSelector distribution. |
HTML::DateSelector - Generate HTML for date selector.
use HTML::DateSelector;
HTML::DateSelector->ymd('start_on');
generate HTML for date selector.
my $html = HTML::DateSelector->ymd('start_on');
my $html = HTML::DateSelector->ym('start_on');
date selector.
ymd => year, month, day. ym => year, month.
my $html = HTML::DateSelector->year('start_on');
my $html = HTML::DateSelector->year('start_on', {start_on => 2000, end_on => 2005});
Year selector.You can set the span of year.
my $html = HTML::DateSelector->hour('start_on');
my $html = HTML::DateSelector->minute('start_on');
# and...
primitive selector.month, day, hour, minute.
you can select the blank.
Tokuhiro Matsuno <tokuhiro __at__ mobilefactory.jp>
Copyright (c) 2006, Tokuhiro Matsuno <tokuhiro __at__ mobilefactory.jp>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Ruby on Rails itself.
| HTML-DateSelector documentation | view source | Contained in the HTML-DateSelector distribution. |