public class Timeslot extends AbstractPersistable
id| Modifier and Type | Method and Description |
|---|---|
boolean |
endsBefore(Timeslot other) |
LocalDate |
getDate() |
long |
getDurationInMinutes() |
LocalDateTime |
getEndDateTime() |
LocalDateTime |
getStartDateTime() |
Set<String> |
getTagSet() |
String |
getTalkType() |
boolean |
hasTag(String tag) |
boolean |
overlaps(Timeslot other) |
void |
setEndDateTime(LocalDateTime endDateTime) |
void |
setStartDateTime(LocalDateTime startDateTime) |
void |
setTagSet(Set<String> tagSet) |
void |
setTalkType(String talkType) |
boolean |
startsAfter(Timeslot other) |
String |
toString() |
Timeslot |
withEndDateTime(LocalDateTime endDateTime) |
Timeslot |
withStartDateTime(LocalDateTime startDateTime) |
Timeslot |
withTalkType(String talkType) |
compareTo, getId, setIdpublic LocalDate getDate()
public long getDurationInMinutes()
public boolean overlaps(Timeslot other)
public boolean startsAfter(Timeslot other)
public boolean endsBefore(Timeslot other)
public boolean hasTag(String tag)
public String toString()
toString in class AbstractPersistablepublic LocalDateTime getStartDateTime()
public void setStartDateTime(LocalDateTime startDateTime)
public LocalDateTime getEndDateTime()
public void setEndDateTime(LocalDateTime endDateTime)
public String getTalkType()
public void setTalkType(String talkType)
public Timeslot withStartDateTime(LocalDateTime startDateTime)
public Timeslot withEndDateTime(LocalDateTime endDateTime)
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.