OpeningHours

data class OpeningHours(val rules: List<Rule>)(source)

Model for opening hours according to the specification at https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification

Constructors

Link copied to clipboard
constructor(rules: List<Rule>)
constructor(vararg rules: Rule)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Whether these opening hours contain points in time, e.g. Mo-Fr 08:00

Link copied to clipboard

Whether these opening hours contain time spans, e.g. Mo-Fr 08:00-12:00 or e.g. Jan-Feb

Link copied to clipboard
open override fun toString(): String