41#include "temporal/temporal.h"
58 const Set *s,
bool atfunc);
60 const Span *s,
bool atfunc);
62 const SpanSet *ss,
bool atfunc);
64 const Set *s,
bool atfunc);
66 const SpanSet *ss,
bool atfunc);
char *(* outfunc)(Datum value, meosType type, int maxdd)
Definition: temporal.h:277
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 b...
Definition: temporal_restrict.c:727
double tnumberinst_double(const TInstant *inst)
Return the value of a temporal number instant converted to a double.
Definition: tinstant.c:113
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.
Definition: temporal_restrict.c:815
bool intersection_tinstant_tinstant(const TInstant *inst1, const TInstant *inst2, TInstant **inter1, TInstant **inter2)
Temporally intersect two temporal instants.
Definition: tinstant.c:510
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.
Definition: temporal_restrict.c:866
void tinstant_set(TInstant *inst, Datum value, TimestampTz t)
Basic functions for temporal instants.
Definition: tinstant.c:101
char * tinstant_to_string(const TInstant *inst, int maxdd, outfunc value_out)
Return the Well-Known Text (WKT) representation of a temporal instant.
Definition: tinstant.c:155
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 o...
Definition: temporal_restrict.c:759
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 valu...
Definition: temporal_restrict.c:681
External API of the Mobility Engine Open Source (MEOS) library.
int64 TimestampTz
Definition: postgres_ext_defs.in.h:22
uintptr_t Datum
Definition: postgres_ext_defs.in.h:7
Structure to represent sets of values.
Definition: meos.h:80
Structure to represent span sets.
Definition: meos.h:108
Structure to represent spans (a.k.a.
Definition: meos.h:94
Structure to represent temporal values of instant subtype.
Definition: meos.h:185