Skip to content

Class: RelativeTimeOffset

Describes how a time is offset from a reference point, including the unit, magnitude, and rounding behavior.

URI: common_domain_model:RelativeTimeOffset

 classDiagram
    class RelativeTimeOffset
    click RelativeTimeOffset href "../RelativeTimeOffset/"
      RelativeTimeOffset <|-- RelativeTime
        click RelativeTime href "../RelativeTime/"

      RelativeTimeOffset : offsetMultiplier

      RelativeTimeOffset : offsetTimeUnit





        RelativeTimeOffset --> "0..1" TimeUnitEnum : offsetTimeUnit
        click TimeUnitEnum href "../TimeUnitEnum/"



      RelativeTimeOffset : rounding





        RelativeTimeOffset --> "0..1" TimeRounding : rounding
        click TimeRounding href "../TimeRounding/"



Inheritance

Slots

Name Cardinality and Range Description Inheritance
offsetTimeUnit 0..1
TimeUnitEnum
The unit of time for the offset (e direct
offsetMultiplier 0..1
Integer
A time offset multiplier, e direct
rounding 0..1
TimeRounding
Optional rules that define how the calculated time should be rounded after th... direct

In Subsets

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self common_domain_model:RelativeTimeOffset
native common_domain_model:RelativeTimeOffset

LinkML Source

Direct

name: RelativeTimeOffset
description: Describes how a time is offset from a reference point, including the
  unit, magnitude, and rounding behavior.
in_subset:
- cdm_base_datetime
from_schema: https://w3id.org/lmodel/common-domain-model
slots:
- offsetTimeUnit
- offsetMultiplier
- rounding

Induced

name: RelativeTimeOffset
description: Describes how a time is offset from a reference point, including the
  unit, magnitude, and rounding behavior.
in_subset:
- cdm_base_datetime
from_schema: https://w3id.org/lmodel/common-domain-model
attributes:
  offsetTimeUnit:
    name: offsetTimeUnit
    description: 'The unit of time for the offset (e.g., seconds, minutes, hours,
      days). '
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: RelativeTimeOffset
    domain_of:
    - RelativeTimeOffset
    range: TimeUnitEnum
  offsetMultiplier:
    name: offsetMultiplier
    description: A time offset multiplier, e.g. 1, 2 or 3 etc. A negative value can
      be used when specifying a negative offset, e.g. -2 hours.
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: RelativeTimeOffset
    domain_of:
    - RelativeTimeOffset
    range: integer
  rounding:
    name: rounding
    description: Optional rules that define how the calculated time should be rounded
      after the offset has been applied.
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: RelativeTimeOffset
    domain_of:
    - RelativeTimeOffset
    - CreditSupportObligationsLegacy
    - CreditSupportObligationsInitialMargin
    - CreditSupportObligationsCollateralTransferAgreement
    - CreditSupportObligationsVariationMargin
    - FloatingRateProcessingParameters
    - CollateralInterestCalculationParameters
    - CommodityPriceReturnTerms
    range: TimeRounding