Package | Description |
---|---|
net.sf.rubycollect4j |
Modifier and Type | Method and Description |
---|---|
RubyDate |
RubyDate.beginningOfDay()
|
RubyDate |
RubyDate.beginningOfMonth()
|
RubyDate |
RubyDate.beginningOfQuarter()
Returns a new
RubyDate representing the start of the quarter (1st
of january, april, july, october). |
RubyDate |
RubyDate.beginningOfWeek()
|
RubyDate |
RubyDate.beginningOfYear()
Returns a new
RubyDate representing the beginning of the year. |
RubyDate |
RubyDate.change(java.util.Map<RubyDate.DateField,java.lang.Integer> options)
Returns a new
RubyDate where one or more of the elements have been
changed according to the options parameter. |
static RubyDate |
RubyDate.current()
Creates a
RubyDate of current time. |
static RubyDate |
RubyCollections.date()
Creates a
RubyDate by current Date. |
static RubyDate |
RubyCollections.date(java.util.Date date)
Creates a
RubyDate by given Date. |
static RubyDate |
RubyCollections.date(int year)
Creates a
RubyDate by given year. |
static RubyDate |
RubyCollections.date(int year,
int month)
Creates a
RubyDate by given year and month. |
static RubyDate |
RubyCollections.date(int year,
int month,
int day)
Creates a
RubyDate by given year, month and day. |
static RubyDate |
RubyCollections.date(int year,
int month,
int day,
int hour)
Creates a
RubyDate by given year, month, day and hour. |
static RubyDate |
RubyCollections.date(int year,
int month,
int day,
int hour,
int min)
Creates a
RubyDate by given year, month, day, hour and minute. |
static RubyDate |
RubyCollections.date(int year,
int month,
int day,
int hour,
int min,
int sec)
Creates a
RubyDate by given year, month, day, hour, minute and
second. |
static RubyDate |
RubyCollections.date(int year,
int month,
int day,
int hour,
int min,
int sec,
int millisec)
Creates a
RubyDate by given year, month, day, hour, minute, second
and millisecond. |
RubyDate |
RubyDate.DateShifter.days()
Shifts the time by days.
|
RubyDate |
RubyDate.endOfDay()
|
RubyDate |
RubyDate.endOfMonth()
|
RubyDate |
RubyDate.endOfQuarter()
Returns a new
RubyDate representing the end of the quarter (last
day of march, june, september, december). |
RubyDate |
RubyDate.endOfWeek()
|
RubyDate |
RubyDate.endOfYear()
Returns a new
RubyDate representing the end of the year. |
RubyDate |
RubyDate.DateShifter.hours()
Shifts the time by hours.
|
RubyDate |
RubyDate.DateShifter.milliseconds()
Shifts the time by milliseconds.
|
RubyDate |
RubyDate.DateShifter.minutes()
Shifts the time by minutes.
|
RubyDate |
RubyDate.DateShifter.months()
Shifts the time by months.
|
RubyDate |
RubyDate.DateShifter.seconds()
Shifts the time by seconds.
|
static RubyDate |
RubyDate.today()
Creates a
RubyDate of beginning of today. |
static RubyDate |
RubyDate.tomorrow()
Creates a
RubyDate of tomorrow. |
RubyDate |
RubyDate.DateShifter.weeks()
Shifts the time by weeks.
|
RubyDate |
RubyDate.DateShifter.years()
Shifts the time by years.
|
static RubyDate |
RubyDate.yesterday()
Creates a
RubyDate of yesterday. |