public class RsDay extends RsDate
AD, BCALL_STYLES, AM, AM_PM, APRIL, areFieldsSet, AUGUST, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_WEEK_IN_MONTH, DAY_OF_YEAR, DECEMBER, DST_OFFSET, ERA, FEBRUARY, FIELD_COUNT, fields, FRIDAY, HOUR, HOUR_OF_DAY, isSet, isTimeSet, JANUARY, JULY, JUNE, LONG, MARCH, MAY, MILLISECOND, MINUTE, MONDAY, MONTH, NOVEMBER, OCTOBER, PM, SATURDAY, SECOND, SEPTEMBER, SHORT, SUNDAY, THURSDAY, time, TUESDAY, UNDECIMBER, WEDNESDAY, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, ZONE_OFFSET| Constructor and Description |
|---|
RsDay()
Constructor.
|
RsDay(Calendar calendar)
Constructor.
|
RsDay(Date date)
Constructor.
|
RsDay(int day,
int month,
int year)
Constructor.
|
RsDay(long timeInMillis)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ensureBegin()
Adjusts the time stamp to the start of the day.
|
boolean |
equals(Object o) |
RsDate |
getBegin()
Returns the begin of this month.
|
static RsDay |
getDay(String key)
Returns a day object for the given key.
|
RsDate |
getEnd()
Returns the end of this month.
|
String |
getKey()
Returns the key of this month.
|
RsDay |
getNext()
Returns the next month.
|
RsDay |
getPrevious()
Returns the previous month.
|
int |
hashCode() |
String |
toString() |
add, clone, computeFields, computeTime, getActualMaximum, getActualMinimum, getGreatestMinimum, getGregorianChange, getLeastMaximum, getMaximum, getMinimum, getTimeZone, getWeeksInWeekYear, getWeekYear, isLeapYear, isWeekDateSupported, roll, roll, setGregorianChange, setTimeZone, setWeekDateafter, before, clear, clear, compareTo, complete, get, getAvailableLocales, getDisplayName, getDisplayNames, getFirstDayOfWeek, getInstance, getInstance, getInstance, getInstance, getMinimalDaysInFirstWeek, getTime, getTimeInMillis, internalGet, isLenient, isSet, set, set, set, set, setFirstDayOfWeek, setLenient, setMinimalDaysInFirstWeek, setTime, setTimeInMillispublic RsDay()
public RsDay(Date date)
public RsDay(long timeInMillis)
public RsDay(Calendar calendar)
calendar - calendar to be based onpublic RsDay(int day,
int month,
int year)
protected void ensureBegin()
public String getKey()
public RsDate getBegin()
public RsDate getEnd()
public RsDay getNext()
public RsDay getPrevious()
public boolean equals(Object o)
equals in class GregorianCalendarpublic int hashCode()
hashCode in class GregorianCalendarCopyright © 2014. All rights reserved.