This repository was archived by the owner on Feb 25, 2025. It is now read-only.
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
getDateInMillis API should also set millisecond to 0 #327
Closed
Description
MonthAdapter.java Ln118
public long getDateInMillis() {
if (calendar == null) {
calendar = Calendar.getInstance();
calendar.set(year, month, day, 0, 0, 0);
}
return calendar.getTimeInMillis();
}
Should also call
calendar.set(Calendar.MILLISECOND, 0);
And same issue exists in setDay(int year, int month, int day) of MonthAdapter.java
Metadata
Metadata
Assignees
Labels
No labels