Home | History | Annotate | Download | only in calllogutils

Lines Matching refs:secondTimestamp

185   public static int getDayDifference(long firstTimestamp, long secondTimestamp) {
186 // Ensure secondTimestamp is no less than firstTimestamp
187 if (secondTimestamp < firstTimestamp) {
189 firstTimestamp = secondTimestamp;
190 secondTimestamp = t;
193 // Use secondTimestamp as reference
195 startOfReferenceDay.setTimeInMillis(secondTimestamp);
232 private static boolean isWithinOneYear(long firstTimestamp, long secondTimestamp) {
233 // Ensure secondTimestamp is no less than firstTimestamp
234 if (secondTimestamp < firstTimestamp) {
236 firstTimestamp = secondTimestamp;
237 secondTimestamp = t;
240 // Use secondTimestamp as reference
242 reference.setTimeInMillis(secondTimestamp);