MCPcopy 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
203int GetQuarter(int month) {
204 DCHECK(month > 0 && month <= 12);
205 return (month - 1) / 3 + 1;
206}
207
208namespace {
209// Helper function used by ParseMonthNameToken() and ParseDayNameToken().

Callers 2

FormatMethod · 0.85
FormatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected