Constructs a new grid.
the grid name as shown in the UI (e.g. "15 Minutes")
the chrono unit on which the grid will be based (e.g. "MINUTE")
the amount of the chrono unit (e.g. "15")
the short name (e.g. "15 Min.")
Adjusts the given instant so that the returned instant will snap to the position defined by the grid settings.
the time to adjust to a grid location
the time zone for which the adjustment is performed (can be different from row to row)
a flag signaling whether we want the adjusted time to snap to an earlier or later time (start time or end time)
the weekday that is considered to be the first day of the week (mostly Monday or Sunday)
the grid adjusted time
Adjusts the given local time so that the returned time will snap to the position defined by the grid settings.
the time to adjust to a grid location
a flag signaling whether we want the adjusted time to snap to an earlier or later time (start time or end time)
the grid adjusted local time
The number of units used for the grid.
the number of units
Returns the grid name that can be used for grid selection controls.
the name of the grid settings
Returns the grid short name that can be used for grid selection controls.
the short name of the grid settings
The temporal unit used for the grid.
the temporal unit of the grid
A virtual grid implementation for ChronoUnit.
1.0