java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.TimePeriod

public class TimePeriod extends Object
A period of time, either as a deadline (endDateTime only) a startDateTime only, or both
  • Constructor Details

    • TimePeriod

      public TimePeriod()
  • Method Details

    • endDateTime

      public TimePeriod endDateTime(Date endDateTime)
    • getEndDateTime

      @Valid public @Valid Date getEndDateTime()
      End of the time period, using IETC-RFC-3339 format
      Returns:
      endDateTime
    • setEndDateTime

      public void setEndDateTime(Date endDateTime)
    • startDateTime

      public TimePeriod startDateTime(Date startDateTime)
    • getStartDateTime

      @Valid public @Valid Date getStartDateTime()
      Start of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an end
      Returns:
      startDateTime
    • setStartDateTime

      public void setStartDateTime(Date startDateTime)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object