static TimeUnit getTimeUnit(Configuration conf) {
    return TimeUnit
      .valueOf(conf.get(QUOTA_OBSERVER_CHORE_TIMEUNIT_KEY, QUOTA_OBSERVER_CHORE_TIMEUNIT_DEFAULT));
  }
Extracts the time unit for the chore period and initial delay from the configuration. The
configuration value for {@link #QUOTA_OBSERVER_CHORE_TIMEUNIT_KEY} must correspond to a
{@link TimeUnit} value.
@param conf The configuration object.
@return The configured time unit for the chore period and initial delay or the default value.
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaObserverChore.java