Assuming this is how you get the current time in Joda time:
DateTime now = new DateTime();
How do you calculate values for the variables
As a Kotlin extension function it looks like this:
fun DateTime.isOnSameDay(timeOnDayToCheck: DateTime) =
timeOnDayToCheck.toLocalDate().toInterval(this.zone).contains(this)
This does not contain times equaling the end of the day (start is included) so maybe add an "or"-case with interval.getEnd().isEqual(this))
.