MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / isOffset

Function isOffset

src/common/TimeZoneUtil.cpp:1145–1148  ·  view source on GitHub ↗

Returns true if the time zone is offset-based or false if region-based.

Source from the content-addressed store, hash-verified

1143
1144// Returns true if the time zone is offset-based or false if region-based.
1145static inline bool isOffset(USHORT timeZone)
1146{
1147 return timeZone <= ONE_DAY * 2;
1148}
1149
1150// Makes a time zone id from offsets.
1151static USHORT makeFromOffset(int sign, unsigned tzh, unsigned tzm)

Callers 5

formatMethod · 0.85
extractOffsetMethod · 0.85
localTimeStampToUtcMethod · 0.85
decodeTimeStampMethod · 0.85
offsetZoneToDisplacementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected