code: private String[] loadDayPeriodStrings(Map<String, String> resourceMap) {
          String strings[] = new String[DAY_PERIOD_KEYS.length];
          if (resourceMap != null) {
              for (int i = 0; i < DAY_PERIOD_KEYS.length; ++i) {
                  strings[i] = resourceMap.get(DAY_PERIOD_KEYS[i]);  // Null if string doesn't exist.
              }
          }
          return strings;
      }
docs: Loads localized names for day periods in the requested format.
  @param resourceMap Contains the dayPeriod resource to load