private boolean isNewMonth() {
   int lastRecordMonth =
       Integer.parseInt(
           ConfigDataUtils.getLastRecordTime(cr).equals("0")
               ? "0"
               : ConfigDataUtils.getLastRecordTime(cr).substring(0, 6));
   int monthOfToday = Integer.parseInt(ConfigDataUtils.getDateOfToday().substring(0, 6));
   Log.v(
       "MonitorService",
       "lastRecordMonth is " + lastRecordMonth + " monthOfToday is " + monthOfToday);
   if (lastRecordMonth >= monthOfToday) {
     return false;
   }
   return true;
 }
 private boolean isNewDay() {
   int lastRecordTime = Integer.parseInt(ConfigDataUtils.getLastRecordTime(cr));
   int dateOfToday = Integer.parseInt(ConfigDataUtils.getDateOfToday());
   Log.v(
       "MonitorService", "lastRecordTime is " + lastRecordTime + " dateOfToday is " + dateOfToday);
   if (lastRecordTime >= dateOfToday) {
     return false;
   }
   return true;
 }