is Same Day
fun Instant.isSameDay(other: Instant, dayCutoffHour: Int = 4, timeZone: TimeZone = TimeZone.currentSystemDefault()): Boolean
Determines if two Instants fall on the same day, considering a specified day cutoff hour.
Return
True if both Instants fall on the same day; otherwise, false.
Parameters
other
The other Instant to compare with.
day Cutoff Hour
The hour at which the day is considered to start (default is 4 AM).
time Zone
The time zone to use for the comparison (default is the system's current time zone).