Class TimeWindowedDepot


  • public class TimeWindowedDepot
    extends Depot
    • Constructor Detail

      • TimeWindowedDepot

        public TimeWindowedDepot()
      • TimeWindowedDepot

        public TimeWindowedDepot​(long id,
                                 Location location,
                                 long readyTime,
                                 long dueTime)
    • Method Detail

      • getReadyTime

        public long getReadyTime()
        Returns:
        a positive number, the time multiplied by 1000 to avoid floating point arithmetic rounding errors
      • setReadyTime

        public void setReadyTime​(long readyTime)
      • getDueTime

        public long getDueTime()
        Returns:
        a positive number, the time multiplied by 1000 to avoid floating point arithmetic rounding errors
      • setDueTime

        public void setDueTime​(long dueTime)