public static int compressTime(long date){
  Long lowResolutionDate=new Long((date - TIME_ZERO) / MS_IN_SEC);
  return lowResolutionDate.intValue();
}

public static int compressTime ( long date ) { Long lowResolutionDate = new Long ( ( date - TIME_ZERO ) / MS_IN_SEC ) ; return lowResolutionDate . intValue ( ) ; }
compress time from long - to the integer - format : reduce the resolution to " seconds " and zero time to 1th january 2000
