Hour of day

pull/210/head
M66B 2 years ago
parent 6cdd2a36aa
commit 91188dc46d

@ -1285,7 +1285,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
now.set(Calendar.MILLISECOND, 0);
now.set(Calendar.SECOND, 0);
now.set(Calendar.MINUTE, 0);
now.set(Calendar.HOUR, 0);
now.set(Calendar.HOUR_OF_DAY, 0);
if (after != null)
json.put("after", after - now.getTimeInMillis());
@ -1332,7 +1332,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
now.set(Calendar.MILLISECOND, 0);
now.set(Calendar.SECOND, 0);
now.set(Calendar.MINUTE, 0);
now.set(Calendar.HOUR, 0);
now.set(Calendar.HOUR_OF_DAY, 0);
if (json.has("after"))
criteria.after = json.getLong("after") + now.getTimeInMillis();

@ -425,7 +425,7 @@ public class DeepL {
next.set(Calendar.MILLISECOND, 0);
next.set(Calendar.SECOND, 0);
next.set(Calendar.MINUTE, 0);
next.set(Calendar.HOUR, 0);
next.set(Calendar.HOUR_OF_DAY, 0);
long today = next.getTimeInMillis();
if (next.get(Calendar.DATE) > subscription)
next.add(Calendar.MONTH, 1);

@ -641,7 +641,7 @@ public class FragmentDialogSearch extends FragmentDialogBase {
cal.set(Calendar.MILLISECOND, 0);
cal.set(Calendar.SECOND, 0);
cal.set(Calendar.MINUTE, 0);
cal.set(Calendar.HOUR, 0);
cal.set(Calendar.HOUR_OF_DAY, 0);
cal.set(Calendar.YEAR, year);
cal.set(Calendar.MONTH, month);

@ -5034,7 +5034,7 @@ public class FragmentMessages extends FragmentBase
cal.set(Calendar.MILLISECOND, 0);
cal.set(Calendar.SECOND, 0);
cal.set(Calendar.MINUTE, 0);
cal.set(Calendar.HOUR, 0);
cal.set(Calendar.HOUR_OF_DAY, 0);
cal.set(Calendar.DAY_OF_MONTH, 30);
cal.set(Calendar.MONTH, Calendar.MAY);
cal.set(Calendar.YEAR, 2022);
@ -5120,7 +5120,7 @@ public class FragmentMessages extends FragmentBase
cal.set(Calendar.MILLISECOND, 0);
cal.set(Calendar.SECOND, 0);
cal.set(Calendar.MINUTE, 0);
cal.set(Calendar.HOUR, 0);
cal.set(Calendar.HOUR_OF_DAY, 0);
cal.set(Calendar.DAY_OF_MONTH, 1);
cal.set(Calendar.MONTH, Calendar.OCTOBER);
cal.set(Calendar.YEAR, 2022);

Loading…
Cancel
Save