public interface RelativeDateString
RelativeDateStrings are comprised of the following parts:
+1drefers to the current date / time increased by exactly 24 hours. If the timeUnit is uppercase, it refers to the start or end boundary of the period of time in question, so
+1Dwould refer to the end of the day (23:39:59:999) tomorrow, and
-1Dwould refer to the start of the day (00:00:00:000) yesterday.
This format is very flexible. Here are a few
example relative date strings:
+0D: End of today. There are often multiple ways to represent the same
time using this system - for example this could also be written as
Beginning of today.
+1W: End of next week.
+1w[-0W]: Beginning of next week.
+1w[-0D]: Beginning of the current day of next week.