Package org.jruby.ext.date
Class TimeExt
java.lang.Object
org.jruby.ext.date.TimeExt
Time's extensions from `require 'date'`
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static RubyDateTimecalcAjdFromCivil(ThreadContext context, org.joda.time.DateTime dt, int off, long subMillisNum, long subMillisDen) (package private) static voidstatic RubyDateto_date(ThreadContext context, IRubyObject self) static RubyDateTimeto_datetime(ThreadContext context, IRubyObject self) static RubyTimeto_time(IRubyObject self)
-
Constructor Details
-
TimeExt
private TimeExt()
-
-
Method Details
-
load
-
to_time
-
to_date
-
to_datetime
-
calcAjdFromCivil
private static RubyDateTime calcAjdFromCivil(ThreadContext context, org.joda.time.DateTime dt, int off, long subMillisNum, long subMillisDen)
-