public final class ShiftPeriod extends Object implements ProjectEntityWithUniqueID, Comparable<ShiftPeriod>
Modifier and Type | Class and Description |
---|---|
static class |
ShiftPeriod.Builder
ShiftPeriod builder.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ShiftPeriod o) |
Duration |
getDuration()
Calculate the duration of this shift period.
|
Shift |
getParentShift()
Retrieve the parent shift.
|
LocalTime |
getStart()
Retrieve the shift period's start time.
|
Integer |
getUniqueID()
Retrieve the shift period's unique ID.
|
public Shift getParentShift()
public Integer getUniqueID()
getUniqueID
in interface ProjectEntityWithUniqueID
public LocalTime getStart()
public Duration getDuration()
public int compareTo(ShiftPeriod o)
compareTo
in interface Comparable<ShiftPeriod>
Copyright © 2000–2024 Packwood Software. All rights reserved.