MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
tinstant.h File Reference
#include <postgres.h>
#include <meos.h>
#include "temporal/temporal.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_tstzset_test (const TInstant *inst, const Set *s, bool atfunc)
 Return true if a temporal instant satisfies the restriction to (the complement of) a timestamptz set. More...
 
bool tinstant_restrict_tstzspanset_test (const TInstant *inst, const SpanSet *ss, bool atfunc)
 Return true if a temporal instant satisfies the restriction to (the complement of) a timestamptz set. More...
 
bool tinstant_restrict_values_test (const TInstant *inst, const Set *s, bool atfunc)
 Return true if a temporal instant satisfies the restriction to (the complement of) a set 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)
 Return the value of a temporal number instant converted to a double. More...
 
bool tnumberinst_restrict_span_test (const TInstant *inst, const Span *s, 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...