public static bool IsNewVersionAndStore() { var buildVersion = AppInfo.Version.Minor; var storedVersion = StoreUtil.GetInt(MINORVERSION); var isNewVersion = false; if ((storedVersion == -1) || (buildVersion != storedVersion)) { isNewVersion = true; } if (isNewVersion) { StoreUtil.SaveInt(MINORVERSION, AppInfo.Version.Minor); } return(isNewVersion); }
public static int GetAlarmMinute() { return(StoreUtil.GetInt(ALARMMINUTE, -1)); }
public static int GetAlarmHour() { return(StoreUtil.GetInt(ALARMHOUR, -1)); }