Hermes
 All Data Structures Files Functions Variables Macros Pages
Properties.c File Reference

The implementantion of Period. More...

Include dependency graph for Properties.c:

Functions

bool isPunctalPeriod (const Period *period)
 
PGDLLEXPORT Datum isPunctalPeriodV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (isPunctalPeriodV1)
 
Interval * durationInIntervalPeriod (const Period *period, Interval *result)
 
PGDLLEXPORT Datum durationInIntervalPeriodV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (durationInIntervalPeriodV1)
 
float8 durationPeriod (const Period *period)
 

Detailed Description

The implementantion of Period.

Author
Marios Vodas (mvoda.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om).

These functions are documented in the Period/Properties.h

Function Documentation

Interval* durationInIntervalPeriod ( const Period period,
Interval *  result 
)

References differenceInInterval(), Period::e, and Period::i.

Referenced by durationInIntervalPeriodV1(), and durationPeriod().

Here is the call graph for this function:

PGDLLEXPORT Datum durationInIntervalPeriodV1 ( PG_FUNCTION_ARGS  )

References durationInIntervalPeriod().

Here is the call graph for this function:

float8 durationPeriod ( const Period period)

References durationInIntervalPeriod(), and interval2seconds().

Referenced by penaltyGiSTBoxST(), penaltyGiSTSegmentST(), picksplitGiSTBoxST(), and picksplitGiSTSegmentST().

Here is the call graph for this function:

bool isPunctalPeriod ( const Period period)
PGDLLEXPORT Datum isPunctalPeriodV1 ( PG_FUNCTION_ARGS  )

References isPunctalPeriod().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( isPunctalPeriodV1  )
PG_FUNCTION_INFO_V1 ( durationInIntervalPeriodV1  )