Interface RelativeTime

All Superinterfaces:
RelativeTimeOffset, com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
RelativeTime.RelativeTimeBuilder
All Known Implementing Classes:
RelativeTime.RelativeTimeBuilderImpl, RelativeTime.RelativeTimeImpl

@RosettaDataType(value="RelativeTime", builder=RelativeTimeBuilderImpl.class, version="7.0.0-dev.105") @RuneDataType(value="RelativeTime", model="cdm", builder=RelativeTimeBuilderImpl.class, version="7.0.0-dev.105") public interface RelativeTime extends RelativeTimeOffset
Defines a time value calculated relative to a reference time. The final value is derived by applying any offset and rounding rules inherited from RelativeTimeOffset to the reference time.
Version:
7.0.0-dev.105
  • Field Details

  • Method Details

    • getTimeRelativeTo

      ReferenceWithMetaTimeZone getTimeRelativeTo()
      The reference time zone or base time from which the relative time is calculated.
    • build

      RelativeTime build()
      Build Methods
      Specified by:
      build in interface RelativeTimeOffset
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface RelativeTimeOffset
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends RelativeTime> metaData()
      Utility Methods
      Specified by:
      metaData in interface RelativeTimeOffset
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends RelativeTime> getType()
      Specified by:
      getType in interface RelativeTimeOffset
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface RelativeTimeOffset
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject