MCPcopy Create free account
hub / github.com/apache/impala / GetWeekOfMonth

Function GetWeekOfMonth

be/src/runtime/datetime-parser-common.cc:408–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408int GetWeekOfMonth(int day) {
409 return (day - 1) / 7 + 1;
410}
411
412int AdjustYearToLength(int year, int adjust_factor) {
413 if (adjust_factor < 10000) {

Callers 2

FormatMethod · 0.85
FormatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected