public static long hoursAgo(int hours){
  long timeInMillis=hours * DateUtils.HOUR_IN_MILLIS;
  return System.currentTimeMillis() - timeInMillis;
}

public static long hoursAgo ( int hours ) { long timeInMillis = hours * DateUtils . HOUR_IN_MILLIS ; return System . currentTimeMillis ( ) - timeInMillis ; }
returns the long representation of the time " hours " ago .
