Panel | ||
---|---|---|
| ||
Useful methods frequently used in the system concerning date, SQL and metadata handling. What does this section cover?
|
...
Expand | |||||
---|---|---|---|---|---|
| |||||
truncate(Date date) method returns the date rounded to the day with a time of 00:00:00:00. setEndOfDay(Date date) method returns the date rounded to the day with a time of 23:59:59:999.
|
...
Expand | |||||
---|---|---|---|---|---|
| |||||
add(Date date, int timeValue, UnitOfTime uot) method adds the given number(time value) of units to the given date.
Alternatively, any of the following methods can be used if the unit of time is known and not given.
|
Handling SQL Dates
SQL Handling Methods
...