MobilityDB 1.1
Functions
tinstant.h File Reference
#include <postgres.h>
#include "general/meos_catalog.h"
#include "general/temporal.h"
#include "general/span.h"
Include dependency graph for tinstant.h:

Go to the source code of this file.

Functions

bool intersection_tinstant_tinstant (const TInstant *inst1, const TInstant *inst2, TInstant **inter1, TInstant **inter2)
 Temporally intersect two temporal instants. More...
 
bool tinstant_restrict_periodset_test (const TInstant *inst, const SpanSet *ps, bool atfunc)
 Return true if a temporal instant satisfies the restriction to (the complement of) a timestamp set. More...
 
bool tinstant_restrict_timestampset_test (const TInstant *inst, const Set *ts, bool atfunc)
 Return true if a temporal instant satisfies the restriction to (the complement of) a timestamp set. More...
 
bool tinstant_restrict_values_test (const TInstant *inst, const Set *set, bool atfunc)
 Return true if a temporal instant satisfies the restriction to (the complement of) an array of base values. More...
 
void tinstant_set (TInstant *inst, Datum value, TimestampTz t)
 Basic functions for temporal instants. More...
 
char * tinstant_to_string (const TInstant *inst, int maxdd, outfunc value_out)
 Return the Well-Known Text (WKT) representation of a temporal instant. More...
 
double tnumberinst_double (const TInstant *inst)
 Convert the value of temporal number instant to a double. More...
 
bool tnumberinst_restrict_span_test (const TInstant *inst, const Span *span, bool atfunc)
 Return true if a temporal number instant satisfies the restriction to (the complement of) a span of base values. More...
 
bool tnumberinst_restrict_spanset_test (const TInstant *inst, const SpanSet *ss, bool atfunc)
 Return true if a temporal number satisfies the restriction to (the complement of) an array of spans of base values. More...