daysToMonths static method

int daysToMonths(
  1. int days
)

Implementation

static int daysToMonths(final int days) {
  return days ~/ MONTH;
}