private static boolean singleDayEvent(long startMillis,long endMillis,long localGmtOffset){
  if (startMillis == endMillis) {
    return true;
  }
  int startDay=Time.getJulianDay(startMillis,localGmtOffset);
  int endDay=Time.getJulianDay(endMillis - 1,localGmtOffset);
  return startDay == endDay;
}

private static boolean singleDayEvent ( long startMillis , long endMillis , long localGmtOffset ) { if ( startMillis == endMillis ) { return true ; } int startDay = Time . getJulianDay ( startMillis , localGmtOffset ) ; int endDay = Time . getJulianDay ( endMillis - 1 , localGmtOffset ) ; return startDay == endDay ; }
returns whether the specified time interval is in a single day .
