Table of Contents

Class OpeningHoursAttribute

Namespace
XENBIT.ResQueServe.Abstractions.Attributes
Assembly
RQS.Abstractions.dll

Attribute to define opening hours for POI categories

[AttributeUsage(AttributeTargets.Field)]
public class OpeningHoursAttribute : Attribute
Inheritance
OpeningHoursAttribute
Inherited Members

Constructors

OpeningHoursAttribute(OpeningDays, int, int, int, int)

Constructor for POIs with specific opening hours

public OpeningHoursAttribute(OpeningDays openDays, int openHour, int openMinute, int closeHour, int closeMinute)

Parameters

openDays OpeningDays

Days of the week when open

openHour int

Opening hour (24-hour format)

openMinute int

Opening minute

closeHour int

Closing hour (24-hour format)

closeMinute int

Closing minute

Properties

CloseTime

public TimeSpan CloseTime { get; }

Property Value

TimeSpan

OpenDays

public OpeningDays OpenDays { get; }

Property Value

OpeningDays

OpenTime

public TimeSpan OpenTime { get; }

Property Value

TimeSpan