Class V1Period

java.lang.Object
com.clinia.model.common.V1Period

public class V1Period extends Object
A time period defined by a start and end date and optionally time.
  • Constructor Details

    • V1Period

      public V1Period()
  • Method Details

    • setId

      public V1Period setId(String id)
    • getId

      @Nullable public String getId()
      A sequence of Unicode characters.
    • setStart

      public V1Period setStart(String start)
    • getStart

      @Nullable public String getStart()
      A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.
    • setEnd

      public V1Period setEnd(String end)
    • getEnd

      @Nullable public String getEnd()
      A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.
    • 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