code: private static long __parseLong(String strLong, long defaultValue) {
          try {
              return Long.parseLong(strLong);
          } catch (NumberFormatException ex) {
              return defaultValue;
          }
      }
docs: value if given string could not be parsed.