| HTML::DateSelector - Generate HTML for date selector. |
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.
# todo: my $html = HTML::DateSelector->ymd('start_on', {plugin => 'DoJo'}); # or my $html = HTML::DateSelector->ymd('start_on', {plugin => [qw/DoJo/]});
use the plugin feature.
*** NOT IMPLEMENTED YET ***
Tokuhiro Matsuno <tokuhiro __at__ mobilefactory.jp>
http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_view/helpers/date_helper.rb
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 - Generate HTML for date selector. |