isWithinBusinessHours

fun isWithinBusinessHours(time: Long = Date().time): Boolean

A function to determine whether the current time is within the given business hours.