Skip navigation links
C D E G H I N O R S T V 

C

ch.bfh.due1.time - package ch.bfh.due1.time
 
ch.bfh.due1.time.pojo - package ch.bfh.due1.time.pojo
 
compareTo(TimeSlot) - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
 
compareTo(TimeSlot) - Method in interface ch.bfh.due1.time.TimeSlot
Compares this time slot with another one.
createTimeSlot(LocalDateTime, LocalDateTime) - Method in class ch.bfh.due1.time.pojo.TimeSlotFactoryImpl
Creates a time slot POJO instance.
createTimeSlot(LocalDateTime, LocalDateTime) - Method in interface ch.bfh.due1.time.TimeSlotFactory
Constructs a time slot object.

D

DateTimeFactory - Class in ch.bfh.due1.time
This utility class offers static methods to create a local date/time object given date/time information.
DateTimeFactory.TimeSlotTypeSpec - Enum in ch.bfh.due1.time
 

E

EMPTY - Static variable in interface ch.bfh.due1.time.TimeSlot
Denotes the empty time slot.
endsAfter(TimeSlot) - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
 
endsAfter(TimeSlot) - Method in interface ch.bfh.due1.time.TimeSlot
Checks if this time slot ends after the given time slot.
endsBefore(TimeSlot) - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
 
endsBefore(TimeSlot) - Method in interface ch.bfh.due1.time.TimeSlot
Checks if this time slot ends before the given time slot.
equals(Object) - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
Tests another time slot object for equality.
exactlyMatches(TimeSlot) - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
 
exactlyMatches(TimeSlot) - Method in interface ch.bfh.due1.time.TimeSlot
Checks if this time slot exactly matches the given time slot.

G

getFinish() - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
Returns the end of the time slot.
getFinish() - Method in interface ch.bfh.due1.time.TimeSlot
Returns the end of the time slot.
getStart() - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
Returns the start of the time slot.
getStart() - Method in interface ch.bfh.due1.time.TimeSlot
Returns the start of the time slot.

H

hashCode() - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
Returns the hash code of this object.

I

includes(LocalDateTime) - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
Returns true iff NOT (dateTime < this.start() AND dateTime < this.end()).
includes(TimeSlot) - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
Returns true iff this.includes(ts.start()) && this.includes(ts.end()).
includes(LocalDateTime) - Method in interface ch.bfh.due1.time.TimeSlot
Returns true iff NOT (dateTime < this.start() AND dateTime < this.end()).
includes(TimeSlot) - Method in interface ch.bfh.due1.time.TimeSlot
Returns true iff this.includes(ts.start()) && this.includes(ts.end()).
isEmpty() - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
Returns true iff start >= end.
isEmpty() - Method in interface ch.bfh.due1.time.TimeSlot
Returns true iff start >= end.

N

now() - Static method in class ch.bfh.due1.time.DateTimeFactory
Returns a local date/time object with current date and time.

O

overlaps(TimeSlot) - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
Returns true iff ts.includes(this.getStart()) OR ts.includes(this.getFinish()) OR this.includes(ts).
overlaps(TimeSlot) - Method in interface ch.bfh.due1.time.TimeSlot
Returns true iff ts.includes(this.getStart()) OR ts.includes(this.getFinish()) OR this.includes(ts).

R

roundTo(LocalDateTime, DateTimeFactory.TimeSlotTypeSpec) - Static method in class ch.bfh.due1.time.DateTimeFactory
 

S

startsAfter(TimeSlot) - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
 
startsAfter(TimeSlot) - Method in interface ch.bfh.due1.time.TimeSlot
Checks if this time slot starts after the given time slot.
startsBefore(TimeSlot) - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
 
startsBefore(TimeSlot) - Method in interface ch.bfh.due1.time.TimeSlot
Checks if this date range starts before the given date range.
strictlyIncludes(TimeSlot) - Method in class ch.bfh.due1.time.pojo.TimeSlotImpl
 
strictlyIncludes(TimeSlot) - Method in interface ch.bfh.due1.time.TimeSlot
Checks if this time slot strictly includes the given time slot.

T

TimeSlot - Interface in ch.bfh.due1.time
Represent a period or time slot of date-and-time values.
TimeSlotFactory - Interface in ch.bfh.due1.time
Defines the interface for a factory class which creates time slots.
TimeSlotFactoryImpl - Class in ch.bfh.due1.time.pojo
Creates a time slot POJO instance.
TimeSlotFactoryImpl() - Constructor for class ch.bfh.due1.time.pojo.TimeSlotFactoryImpl
 
TimeSlotImpl - Class in ch.bfh.due1.time.pojo
 
TimeSlotImpl(LocalDateTime, LocalDateTime) - Constructor for class ch.bfh.due1.time.pojo.TimeSlotImpl
Constructs a time slot object.

V

valueOf(String) - Static method in enum ch.bfh.due1.time.DateTimeFactory.TimeSlotTypeSpec
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.bfh.due1.time.DateTimeFactory.TimeSlotTypeSpec
Returns an array containing the constants of this enum type, in the order they are declared.
C D E G H I N O R S T V 
Skip navigation links

Copyright © 2016 BFH. All rights reserved.