Hermes
|
The implementantion of Period. More...
#include "../../h/Temporal/Period/Distance.h"
#include "../../h/Temporal/Period/RelationalOperators.h"
#include "../../h/Utilities/Utilities.h"
Functions | |
Interval * | distanceInIntervalPeriod_Timestamp (const Period *period, Timestamp ts, Interval *result) |
PGDLLEXPORT Datum | distanceInIntervalPeriod_TimestampV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (distanceInIntervalPeriod_TimestampV1) | |
float8 | distancePeriod_Timestamp (const Period *period, Timestamp ts) |
Interval * | distanceInIntervalPeriod_Period (const Period *periodA, const Period *periodB, Interval *result) |
PGDLLEXPORT Datum | distanceInIntervalPeriod_PeriodV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (distanceInIntervalPeriod_PeriodV1) | |
float8 | distancePeriod_Period (const Period *periodA, const Period *periodB) |
The implementantion of Period.
These functions are documented in the Period/Distance.h
Interval* distanceInIntervalPeriod_Period | ( | const Period * | periodA, |
const Period * | periodB, | ||
Interval * | result | ||
) |
References afterPeriod_Period(), beforePeriod_Period(), differenceInInterval(), Period::e, and Period::i.
Referenced by distanceInIntervalPeriod_PeriodV1(), and distancePeriod_Period().
PGDLLEXPORT Datum distanceInIntervalPeriod_PeriodV1 | ( | PG_FUNCTION_ARGS | ) |
Interval* distanceInIntervalPeriod_Timestamp | ( | const Period * | period, |
Timestamp | ts, | ||
Interval * | result | ||
) |
References afterPeriod_Timestamp(), beforePeriod_Timestamp(), differenceInInterval(), Period::e, and Period::i.
Referenced by distanceInIntervalPeriod_TimestampV1(), and distancePeriod_Timestamp().
PGDLLEXPORT Datum distanceInIntervalPeriod_TimestampV1 | ( | PG_FUNCTION_ARGS | ) |
References distanceInIntervalPeriod_Period(), and interval2seconds().
Referenced by distanceBoxST_PeriodV1(), distanceGiSTBoxST(), distanceGiSTSegmentST(), and distanceSegmentST_PeriodV1().
float8 distancePeriod_Timestamp | ( | const Period * | period, |
Timestamp | ts | ||
) |
References distanceInIntervalPeriod_Timestamp(), and interval2seconds().
Referenced by distanceGiSTSegmentST(), and distanceSegmentST_TimestampV1().
PG_FUNCTION_INFO_V1 | ( | distanceInIntervalPeriod_TimestampV1 | ) |
PG_FUNCTION_INFO_V1 | ( | distanceInIntervalPeriod_PeriodV1 | ) |