minuteOfDay
minuteOfDay returns the minutes since the top of the day (midnight) in the specified time zone.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| instant | Instant | The date-time from which to return the number of minutes. |
| timeZone | ZoneId | The time zone. |
| dateTime | ZonedDateTime | The date-time from which to return the number of minutes. |
| asLocalTime | boolean | Set this parameter to
On non-DST days, the result is the same regardless of the value of |
| localDateTime | LocalDateTime | The local date-time from which to return the number of minutes. |
| localTime | LocalTime | The local time from which to return the number of minutes. |
Returns
Returns an int value of minutes since midnight for a specified date-time.