Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/impala
/ GetQuarter
Function
GetQuarter
be/src/runtime/datetime-parser-common.cc:203–206 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
201
}
202
203
int GetQuarter(int month) {
204
DCHECK(month > 0 && month <= 12);
205
return (month - 1) / 3 + 1;
206
}
207
208
namespace {
209
// Helper function used by ParseMonthNameToken() and ParseDayNameToken().
Callers
2
Format
Method · 0.85
Format
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected