telegramium.bots.BusinessOpeningHoursInterval.scala Maven / Gradle / Ivy
package telegramium.bots
/** Describes an interval of time during which a business is open.
*
* @param openingMinute
* The minute's sequence number in a week, starting on Monday, marking the start of the time interval during which
* the business is open; 0 - 7 * 24 * 60
* @param closingMinute
* The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the
* business is open; 0 - 8 * 24 * 60
*/
final case class BusinessOpeningHoursInterval(openingMinute: Int, closingMinute: Int)