public class ServiceHour extends Object
| Constructor and Description |
|---|
ServiceHour() |
| Modifier and Type | Method and Description |
|---|---|
ServiceHour |
additionalInformation(List<LocalizedValue> additionalInformation) |
ServiceHour |
closes(String closes)
Closing time in format HH:mm for example 19:00
|
ServiceHour |
days(List<Integer> days)
Array of week numbers indices where serice hour is active (0 == sunday)
|
boolean |
equals(Object o) |
ServiceHour |
exceptionHourType(String exceptionHourType)
Type of service hour exception type.
|
List<LocalizedValue> |
getAdditionalInformation() |
String |
getCloses() |
List<Integer> |
getDays() |
String |
getExceptionHourType() |
String |
getOpens() |
String |
getTimezone() |
String |
getType() |
OffsetDateTime |
getValidFrom() |
OffsetDateTime |
getValidTo() |
int |
hashCode() |
ServiceHour |
opens(String opens)
Opening time in format HH:mm for example 08:00.
|
void |
setAdditionalInformation(List<LocalizedValue> additionalInformation) |
void |
setCloses(String closes) |
void |
setDays(List<Integer> days) |
void |
setExceptionHourType(String exceptionHourType) |
void |
setOpens(String opens) |
void |
setTimezone(String timezone) |
void |
setType(String type) |
void |
setValidFrom(OffsetDateTime validFrom) |
void |
setValidTo(OffsetDateTime validTo) |
ServiceHour |
timezone(String timezone) |
String |
toString() |
ServiceHour |
type(String type)
Type of service hour (Standard, Exception or Special).
|
ServiceHour |
validFrom(OffsetDateTime validFrom)
Date time where from this entry is valid.
|
ServiceHour |
validTo(OffsetDateTime validTo)
Date time to this entry is valid.
|
public ServiceHour type(String type)
public String getType()
public void setType(String type)
public ServiceHour exceptionHourType(String exceptionHourType)
public String getExceptionHourType()
public void setExceptionHourType(String exceptionHourType)
public ServiceHour validFrom(OffsetDateTime validFrom)
public OffsetDateTime getValidFrom()
public void setValidFrom(OffsetDateTime validFrom)
public ServiceHour validTo(OffsetDateTime validTo)
public OffsetDateTime getValidTo()
public void setValidTo(OffsetDateTime validTo)
public ServiceHour days(List<Integer> days)
public ServiceHour opens(String opens)
public String getOpens()
public void setOpens(String opens)
public ServiceHour closes(String closes)
public String getCloses()
public void setCloses(String closes)
public ServiceHour timezone(String timezone)
public String getTimezone()
public void setTimezone(String timezone)
public ServiceHour additionalInformation(List<LocalizedValue> additionalInformation)
public List<LocalizedValue> getAdditionalInformation()
public void setAdditionalInformation(List<LocalizedValue> additionalInformation)
Copyright © 2017 Metatavu Oy. All rights reserved.