/* *Datastructurerepresentingabroken-downtimestamp. * *CAUTION:theIANAtimezonelibrary(src/timezone/)followsthePOSIX *conventionthattm_moncountsfrom0andtm_yearisrelativeto1900. *However,Postgres'datetimefunctionsgenerallytreattm_monascounting *from1andtm_yearasrelativeto1BC.Besuretomaketheappropriate *adjustmentswhenmovingfromonecodedomaintotheother.
*/ struct pg_tm
{ int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; /* see above */ int tm_year; /* see above */ int tm_wday; int tm_yday; int tm_isdst; longint tm_gmtoff; constchar *tm_zone;
};
/* These structs are opaque outside the timezone library */ typedefstruct pg_tz pg_tz; typedefstruct pg_tzenum pg_tzenum;
/* Maximum length of a timezone name (not including trailing null) */ #define TZ_STRLEN_MAX 255
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.