the type of the temporal unit
Creates a virtual grid for editing operations based on the settings of this resolution.
the virtual grid
Formats the given time / instant for the given time zone based on the settings of this resolution.
the time used for the formatting
the time zone
the formatted time
Returns the format in which the resolution will be displayed.
the format string for the date time formatter
Returns the step rate of this resolution, e.g. "5" for "5 Minutes". Normally values are 1, 5, 10, 15, or 30.
the step rate
Returns the temporal unit represented by this resolution.
the temporal unit
Increments the given time based on the temoral unit represented by this resolution. Example: if the temporal unit is DAY and the given time is located on Monday, then the incremented time will be Tuesday. If the temporal unit is WEEK then the incremented time will be the Monday of the next week. This function is very important for building the cells in the dateline control.
the time to increment
the time zone
the incremented time
Determines if the given position is supported by this resolution.
the position
Truncates the given time based on the temporal unit represented by this resolution. Example: a date located on a Wednesday will be adjusted to a date on the previous Monday (if Monday is the first day of the week in the given time zone).
the time to truncate
the time zone
the weekday that is considered to be the first day of the week
the truncated time
A resolution represents the visual representation of a temporal unit. The unit will be displayed in the given format, step rate, and in the given positions.
1.0