public class RubyTime extends RubyObject
RubyObject.DataRubyBasicObject.Finalizer| Modifier and Type | Field and Description |
|---|---|
static int |
TIME_SCALE |
static java.lang.String |
UTC |
IVAR_INSPECTING_OBJECT_ALLOCATOR, OBJECT_ALLOCATOR, REIFYING_OBJECT_ALLOCATORALL_F, BASICOBJECT_ALLOCATOR, COMPARE_BY_IDENTITY_F, ERR_INSECURE_SET_INST_VAR, FALSE_F, FL_USHIFT, flags, FROZEN_F, IS_OVERLAID_F, metaClass, NEVER, NIL_F, REFINED_MODULE_F, STAMP_OFFSET, TAINTED_F, UNDEF, UNTRUST_F, USER0_F, USER1_F, USER2_F, USER3_F, USER4_F, USER5_F, USER6_F, USER7_F, USER8_F, USER9_F, USERA_F, VAR_TABLE_OFFSET, varTable, varTableStampNULL_ARRAY| Constructor and Description |
|---|
RubyTime(Ruby runtime,
RubyClass rubyClass) |
RubyTime(Ruby runtime,
RubyClass rubyClass,
org.joda.time.DateTime dt) |
| Modifier and Type | Method and Description |
|---|---|
RubyString |
asctime() |
static IRubyObject |
at(ThreadContext context,
IRubyObject recv,
IRubyObject arg) |
static IRubyObject |
at(ThreadContext context,
IRubyObject recv,
IRubyObject arg1,
IRubyObject arg2) |
static IRubyObject |
at(ThreadContext context,
IRubyObject recv,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3) |
static double |
convertTimeInterval(ThreadContext context,
IRubyObject sec) |
static RubyClass |
createTimeClass(Ruby runtime) |
RubyString |
dump(IRubyObject[] args,
Block unusedBlock)
Deprecated.
|
RubyString |
dump(ThreadContext context) |
RubyString |
dump(ThreadContext context,
IRubyObject arg) |
|