/** Detect user date settings on geocaching.com */ public static void detectGcCustomDate() { final String result = Network.getResponseData( Network.getRequest("http://www.geocaching.com/account/ManagePreferences.aspx")); if (null == result) { Log.w("Login.detectGcCustomDate: result is null"); return; } String customDate = BaseUtils.getMatch(result, GCConstants.PATTERN_CUSTOMDATE, true, null); if (null != customDate) { Settings.setGcCustomDate(customDate); } }