instead of calendar.set(Calendar.SECOND, beginning ? 0 : 99);
it should be calendar.set(Calendar.SECOND, beginning ? 0 : 59);
since there are only 59 seconds in a minute.
I get an error on my filter where if the biggest date is a day before the current date, it will show the current date entry.
ex. if biggest date is Oct 6, then it will show entries with the timestamp less than or equal to Oct 7 00:00:39 which is incorrect
instead of calendar.set(Calendar.SECOND, beginning ? 0 : 99); it should be calendar.set(Calendar.SECOND, beginning ? 0 : 59); since there are only 59 seconds in a minute.
I get an error on my filter where if the biggest date is a day before the current date, it will show the current date entry. ex. if biggest date is Oct 6, then it will show entries with the timestamp less than or equal to Oct 7 00:00:39 which is incorrect