Uses of Class
rs.baselib.util.RsDate
| Package | Description |
|---|---|
| rs.baselib.io |
Provides I/O utilities, such as converting from/into bytes and finding resources.
|
| rs.baselib.lang |
Provides support for Java language-specific issues.
|
| rs.baselib.test |
Provides classes for test-related issues.
|
| rs.baselib.util |
Provides several utility classes.
|
-
Uses of RsDate in rs.baselib.io
Methods in rs.baselib.io that return RsDate Modifier and Type Method Description static RsDateConverterUtils. toRsDate(byte[] bytes)Converts the given bytes to Date.static RsDateConverterUtils. toRsDay(byte[] bytes)Converts the given bytes to Day.Methods in rs.baselib.io with parameters of type RsDate Modifier and Type Method Description static byte[]ConverterUtils. toBytes(RsDate param)Converts the given parameter to its byte representation. -
Uses of RsDate in rs.baselib.lang
Methods in rs.baselib.lang that return RsDate Modifier and Type Method Description static RsDateLangUtils. getRsDate(java.lang.Object o)Converts the object to aRsDate.static RsDateLangUtils. getRsDate(java.lang.Object o, java.text.DateFormat format)Converts the object to aRsDate.static RsDateLangUtils. getRsDate(java.lang.Object o, java.text.DateFormat[] formats)Returns the date using the firstDateFormatthat produces a result.static RsDateLangUtils. getRsDate(java.lang.Object o, java.text.DateFormat[] formats, RsDate defaultValue)Returns the date using the firstDateFormatthat produces a result.static RsDateLangUtils. getRsDate(java.lang.Object o, java.text.DateFormat format, RsDate defaultValue)Converts the object to aRsDate.static RsDateLangUtils. getRsDate(java.lang.Object o, java.text.DateFormat format, RsDate defaultValue, boolean logError)Converts the object to aRsDate.Methods in rs.baselib.lang with parameters of type RsDate Modifier and Type Method Description static RsDateLangUtils. getRsDate(java.lang.Object o, java.text.DateFormat[] formats, RsDate defaultValue)Returns the date using the firstDateFormatthat produces a result.static RsDateLangUtils. getRsDate(java.lang.Object o, java.text.DateFormat format, RsDate defaultValue)Converts the object to aRsDate.static RsDateLangUtils. getRsDate(java.lang.Object o, java.text.DateFormat format, RsDate defaultValue, boolean logError)Converts the object to aRsDate. -
Uses of RsDate in rs.baselib.test
Methods in rs.baselib.test that return RsDate Modifier and Type Method Description RsDateRsDateBuilder. build()Build the previously configured object.Methods in rs.baselib.test with parameters of type RsDate Modifier and Type Method Description DateTimePeriodBuilderDateTimePeriodBuilder. withFrom(RsDate from)Create dates using the given from date.DateTimePeriodBuilderDateTimePeriodBuilder. withUntil(RsDate until)Create dates using the given until date.Method parameters in rs.baselib.test with type arguments of type RsDate Modifier and Type Method Description DateTimePeriodBuilderDateTimePeriodBuilder. withFrom(Builder<RsDate> fromBuilder)Create dates using the given from date builder.DateTimePeriodBuilderDateTimePeriodBuilder. withUntil(Builder<RsDate> untilBuilder)Create dates using the given until date builder. -
Uses of RsDate in rs.baselib.util
Subclasses of RsDate in rs.baselib.util Modifier and Type Class Description classRsDayA day.classRsMonthA month.classRsYearA year.Methods in rs.baselib.util that return RsDate Modifier and Type Method Description static RsDateRsDate. get(long timestamp)Create a date of given timestamp or null.static RsDateRsDate. get(java.sql.Timestamp timestamp)Create a date of given timestamp or null.static RsDateRsDate. get(java.util.Date date)Create a date of given timestamp or null.RsDateRsDay. getBegin()Returns the begin of this month.RsDateRsMonth. getBegin()Returns the begin of this month.RsDateRsYear. getBegin()Returns the begin of this year.RsDateReleaseInformation. getBuildDate()Returns the buildDate.RsDateRsDay. getEnd()Returns the end of this month.RsDateRsMonth. getEnd()Returns the end of this month.RsDateRsYear. getEnd()Returns the end of this year.RsDateDateTimePeriod. getFrom()Returns the from.RsDateReleaseInformation. getSvnCommittedDate()Returns the svnCommittedDate.RsDateDateTimePeriod. getUntil()Returns the until.Methods in rs.baselib.util with parameters of type RsDate Modifier and Type Method Description static longCommonUtils. getUnixTimestamp(RsDate date)Returns the given date as UNIX timestamp.booleanDateTimePeriod. isIn(RsDate date)Tells whether date is in this range.voidReleaseInformation. setBuildDate(RsDate buildDate)Sets the buildDate.voidDateTimePeriod. setFrom(RsDate from)Sets the from.voidReleaseInformation. setSvnCommittedDate(RsDate svnCommittedDate)Sets the svnCommittedDate.voidDateTimePeriod. setUntil(RsDate until)Sets the until.static java.lang.StringCommonUtils. toString(RsDate date)Formats the given date.Constructors in rs.baselib.util with parameters of type RsDate Constructor Description DateTimePeriod(RsDate from, long duration)Constructor.DateTimePeriod(RsDate from, RsDate until)Constructor.