Package | Description |
---|---|
org.jruby.ext.date |
Modifier and Type | Class and Description |
---|---|
class |
RubyDateTime
JRuby's
DateTime implementation - 'native' parts. |
Modifier and Type | Method and Description |
---|---|
static RubyDate |
RubyDate._load(ThreadContext context,
IRubyObject klass,
IRubyObject str) |
static RubyDate |
RubyDate.civil(ThreadContext context,
IRubyObject self)
# Create a new Date object for the Civil Date specified by
# year +y+, month +m+, and day-of-month +d+.
|
static RubyDate |
RubyDate.civil(ThreadContext context,
IRubyObject self,
IRubyObject year) |
static RubyDate |
RubyDate.civil(ThreadContext context,
IRubyObject self,
IRubyObject[] args) |
static RubyDate |
RubyDate.civil(ThreadContext context,
IRubyObject self,
IRubyObject year,
IRubyObject month) |
static RubyDate |
RubyDate.civil(ThreadContext context,
IRubyObject self,
IRubyObject year,
IRubyObject month,
IRubyObject mday) |
static RubyDate |
RubyDate.commercial(ThreadContext context,
IRubyObject self,
IRubyObject[] args) |
RubyDate |
RubyDate.initialize(ThreadContext context,
IRubyObject dt)
Deprecated.
kept due AR-JDBC (uses RubyClass.newInstance(...) to 'fast' allocate a Date instance)
|
RubyDate |
RubyDate.initialize(ThreadContext context,
IRubyObject ajd,
IRubyObject of) |
RubyDate |
RubyDate.initialize(ThreadContext context,
IRubyObject ajd,
IRubyObject of,
IRubyObject sg) |
static RubyDate |
RubyDate.jd(ThreadContext context,
IRubyObject self)
Create a new Date object from a Julian Day Number.
|
static RubyDate |
RubyDate.jd(ThreadContext context,
IRubyObject self,
IRubyObject jd) |
static RubyDate |
RubyDate.jd(ThreadContext context,
IRubyObject self,
IRubyObject jd,
IRubyObject sg) |
RubyDate |
RubyDate.marshal_load(ThreadContext context,
IRubyObject a) |
static RubyDate |
RubyDate.new_(ThreadContext context,
IRubyObject self)
Deprecated.
internal Date.new!
|
static RubyDate |
RubyDate.new_(ThreadContext context,
IRubyObject self,
IRubyObject ajd)
Deprecated.
internal Date.new!
|
static RubyDate |
RubyDate.new_(ThreadContext context,
IRubyObject self,
IRubyObject ajd,
IRubyObject of)
Deprecated.
internal Date.new!
|
static RubyDate |
RubyDate.new_(ThreadContext context,
IRubyObject self,
IRubyObject ajd,
IRubyObject of,
IRubyObject sg)
Deprecated.
internal Date.new!
|
static RubyDate |
RubyDate.ordinal(ThreadContext context,
IRubyObject self,
IRubyObject[] args) |
RubyDate |
RubyDate.to_date() |
RubyDate |
RubyDateTime.to_date(ThreadContext context) |
static RubyDate |
TimeExt.to_date(ThreadContext context,
IRubyObject self) |
static RubyDate |
RubyDate.today(ThreadContext context,
IRubyObject self)
# Create a new Date object representing today.
|
static RubyDate |
RubyDate.today(ThreadContext context,
IRubyObject self,
IRubyObject sg) |
Modifier and Type | Method and Description |
---|---|
boolean |
RubyDate.equals(RubyDate that) |
Copyright © 2001-2020 JRuby. All Rights Reserved.