Class
Time
Home
In: locana/l_others.rb
Parent: Object

Here are some extensions to the Time class used by Locana. These used mostly by the Ldatebox and Lcalendar classes.

Methods

add_days, add_to_month, add_to_year, leap_year?,
Public Instance methods
leap_year?() src

Returns true if date is a leap_year.

add_to_year(value=1) src

Returns a new Time object with value added to the year of the date.

add_to_month(value=1) src

Returns a new Time object with value added to the month of the date.

add_days(value=1) src

Returns a new Time object with value added to the days of the date.


Seva Software


Thank you for taking the time to visit this web page. I trust you found the information contained in this page useful.
Please email any questions, concerns, or issues with this web site to webmaster@sevasoftware.com.
Please remember Seva Software when your company would benefit from an experienced database architect and software engineer.

http://www.arunadb.org http://www.locana.org http://www.ruby-lang.org http://www.coolwell.org http://www.sevasoftware.com