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
Section titled “Inheritance”- RelativeTimeOffset
| 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 |
Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Schema Source
Section titled “Schema Source”- from schema: https://w3id.org/lmodel/common-domain-model
Mappings
Section titled “Mappings”| Mapping Type | Mapped Value |
|---|---|
| self | common_domain_model:RelativeTimeOffset |
| native | common_domain_model:RelativeTimeOffset |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: RelativeTimeOffsetdescription: Describes how a time is offset from a reference point, including the unit, magnitude, and rounding behavior.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: 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/cdm_base_datetime rank: 1000 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/cdm_base_datetime rank: 1000 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/cdm_base_datetime rank: 1000 domain_of: - RelativeTimeOffset - FloatingRateIndexDefinition - CreditSupportObligationsCollateralTransferAgreement - CreditSupportObligationsInitialMargin - CreditSupportObligationsLegacy - CreditSupportObligationsVariationMargin - FloatingRateProcessingParameters - CollateralInterestCalculationParameters - CommodityPriceReturnTerms range: TimeRoundingInduced
Section titled “Induced”name: RelativeTimeOffsetdescription: Describes how a time is offset from a reference point, including the unit, magnitude, and rounding behavior.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: 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/cdm_base_datetime 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/cdm_base_datetime 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/cdm_base_datetime rank: 1000 owner: RelativeTimeOffset domain_of: - RelativeTimeOffset - FloatingRateIndexDefinition - CreditSupportObligationsCollateralTransferAgreement - CreditSupportObligationsInitialMargin - CreditSupportObligationsLegacy - CreditSupportObligationsVariationMargin - FloatingRateProcessingParameters - CollateralInterestCalculationParameters - CommodityPriceReturnTerms range: TimeRounding