Kotlin Function to return boolean between date/hour range (Android)

  android, date, datetime, kotlin

I’m searching for an example with a function comparing a date and hours range for example in a restaurant for opening hours , the function return true if I put in parameters Sunday – Tuesday from 10:00 AM – 23:00 PM, What is the best way to do it? there is multiples date instances in Java/Kotlin I’m a little bit confused…

Source: Android Questions