Package | Description |
---|---|
org.jruby.ext.date |
Modifier and Type | Method and Description |
---|---|
static RubyDateTime |
RubyDateTime.civil(ThreadContext context,
IRubyObject self)
# Create a new DateTime object corresponding to the specified
# Civil Date and hour +h+, minute +min+, second +s+.
|
static RubyDateTime |
RubyDateTime.civil(ThreadContext context,
IRubyObject self,
IRubyObject year) |
static RubyDateTime |
RubyDateTime.civil(ThreadContext context,
IRubyObject self,
IRubyObject[] args) |
static RubyDateTime |
RubyDateTime.civil(ThreadContext context,
IRubyObject self,
IRubyObject year,
IRubyObject month) |
static RubyDateTime |
RubyDateTime.jd(ThreadContext context,
IRubyObject self)
# Create a new DateTime object corresponding to the specified
# Julian Day Number +jd+ and hour +h+, minute +min+, second +s+.
|
static RubyDateTime |
RubyDateTime.jd(ThreadContext context,
IRubyObject self,
IRubyObject[] args) |
static RubyDateTime |
RubyDateTime.now(ThreadContext context,
IRubyObject self)
# Create a new DateTime object representing the current time.
|
static RubyDateTime |
RubyDateTime.now(ThreadContext context,
IRubyObject self,
IRubyObject sg) |
RubyDateTime |
RubyDateTime.to_datetime() |
RubyDateTime |
RubyDate.to_datetime(ThreadContext context) |
static RubyDateTime |
TimeExt.to_datetime(ThreadContext context,
IRubyObject self) |
Copyright © 2001-2018 JRuby. All Rights Reserved.