new
Return
ZonedDateTime.
Parameters
Year, ie, 2020.
Month with range 1-12, i.e. 1 for January.
Day of the month with range 1-31.
Hour of the day with range 0-23.
Minute of the hour with range 0-59.
Second of the minute with range 0-59.
Nano-of-second to represent, from 0 to 999,999,999.
If true, sets the time zone of the device, else UTC.
Return
ZonedDateTime.
Parameters
Year, ie, 2020.
Month with range 1-12, i.e. 1 for January.
Day of the month with range 1-31.
Hour of the day with range 1-12.
Minute of the hour with range 0-59.
Second of the minute with range 0-59.
Nano-of-second to represent, from 0 to 999,999,999.
If true, sets assumes hour is in the AM, else PM.
If true, sets the time zone of the device, else UTC.
Return
ZonedDateTime.
Parameters
Epoch time, aka Unix time, are seconds elapsed since January 1st 1970 at 00:00:00 UTC.
If true, converts to time zone of the device, else leaves as UTC.