Static public member functions documentation
- static int64_t epochEnd()
- Gets the encoded epoch end.
- Returns
- The encoded epoch start.
- static int64_t epochStart()
- Gets the encoded epoch start.
- Returns
- The encoded epoch start.
- static bool isValidTimestamp(uint32_t month, uint32_t day, uint32_t year, uint32_t hour,
uint32_t minute, uint32_t second, uint32_t mcrs)
- Determines whether a decoded m/d/y, h:m:s:micros Timestamp value is valid and within the Netezza
Timestamp range.
- Parameters
- month
- The month, 1 to 12 inclusive.
- day
- The day, 1 to 31 inclusive.
- year
- The year, SQL_YEAR_MIN to SQL_YEAR_MAX inclusive.
- hour
- The hour, 0 to 23 inclusive.
- minute
- The minute, 0 to 59 inclusive.
- second
- The second, 0 to 59 inclusive.
- mcrs
- The microsecond, 0 to 999,999 inclusive.
- Returns
- FALSE if isValidDate(month, day, year) is FALSE or isValidTime(hour, minute, second, micros) is
FALSE; TRUE otherwise.
- static int64_t max()
- Gets the encoded max.
- Returns
- The encoded max.
- static int64_t min()
- Gets the encoded min.
- Returns
- The encoded max.