Issue #7114 has been updated by headius (Charles Nutter).


It might be useful to look at the JodaTime library for the JVM. JRuby uses JodaTime to implement Time internally, and we have debated using it to implement most of 'date' ext as well. Java has suffered through a number of lackluster date/time APIs over the years, and JodaTime is widely considered to be the most correct, best API available. It's so good, in fact, that it will be incorporated into Java 8.

http://joda-time.sourceforge.net/
----------------------------------------
Feature #7114: New classes: `HumanTime::LocalTime`, `HumanTime::Duration`
https://bugs.ruby-lang.org/issues/7114#change-31234

Author: alexeymuranov (Alexey Muranov)
Status: Feedback
Priority: Normal
Assignee: 
Category: 
Target version: 


=begin
As suggested by  *drbrain* in #7113 , here is a separate request for classes to hold the time of day and duration of time.

Ruby currently does not have a class to represent a standard database "time" column. Using (({Time})) for this causes some difficulties for example to users of *Ruby on Rails*: http://www.rebeccablyth.co.uk/2008/01/03/time-columns-and-rails/
=end



-- 
http://bugs.ruby-lang.org/