Class ShipDueDate

  • All Implemented Interfaces:
    IShipDueDate, java.lang.Comparable<IShipDueDate>

    public class ShipDueDate
    extends java.lang.Object
    implements IShipDueDate, java.lang.Comparable<IShipDueDate>
    Implementation of the due date for ships. The Ship due date can be compared for ordering based on the due date.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2013 Created on Mar 9, 2013
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.time.LocalDateTime dueDate  
      private IShip ship  
    • Constructor Summary

      Constructors 
      Constructor Description
      ShipDueDate()  
    • Field Detail

      • ship

        private final IShip ship
      • dueDate

        private final java.time.LocalDateTime dueDate
    • Constructor Detail

      • ShipDueDate

        public ShipDueDate()
    • Method Detail

      • compareTo

        public int compareTo​(IShipDueDate other)
        Specified by:
        compareTo in interface java.lang.Comparable<IShipDueDate>