Class DateRange.DateRangeImpl

java.lang.Object
cdm.base.datetime.DateRange.DateRangeImpl
All Implemented Interfaces:
DateRange, com.rosetta.model.lib.RosettaModelObject
Direct Known Subclasses:
BusinessDateRange.BusinessDateRangeImpl
Enclosing interface:
DateRange

public static class DateRange.DateRangeImpl extends Object implements DateRange
Immutable Implementation of DateRange
  • Constructor Details

  • Method Details

    • getStartDate

      @RosettaAttribute(value="startDate", isRequired=true) @RuneAttribute(value="startDate", isRequired=true) public com.rosetta.model.lib.records.Date getStartDate()
      Description copied from interface: DateRange
      The first date of a date range.
      Specified by:
      getStartDate in interface DateRange
    • getEndDate

      @RosettaAttribute(value="endDate", isRequired=true) @RuneAttribute(value="endDate", isRequired=true) public com.rosetta.model.lib.records.Date getEndDate()
      Description copied from interface: DateRange
      The last date of a date range.
      Specified by:
      getEndDate in interface DateRange
    • build

      public DateRange build()
      Description copied from interface: DateRange
      Build Methods
      Specified by:
      build in interface DateRange
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      public DateRange.DateRangeBuilder toBuilder()
      Specified by:
      toBuilder in interface DateRange
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(DateRange.DateRangeBuilder builder)
    • 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