com.github.asvid.biedra.domain / OpenHours

OpenHours

data class OpenHours (source)

Shop open hours, contains TimeRange for weekdays, saturday and sunday

Constructors

Name Summary
<init> OpenHours(weekDay: TimeRange, saturday: TimeRange?, sunday: TimeRange?)
Shop open hours, contains TimeRange for weekdays, saturday and sunday

Properties

Name Summary
saturday val saturday: TimeRange?
opening hours
sunday val sunday: TimeRange?
opening hours
weekDay val weekDay: TimeRange
opening hours for monday - friday

Extension Functions

Name Summary
getForToday fun OpenHours.getForToday(): TimeRange