Adjust SMS phases and show Phase 3 start date.

This commit is contained in:
Cody Henthorne
2023-02-03 19:25:40 -05:00
committed by Alex Hart
parent 9b08ebcc1d
commit 1f31f4a50a
7 changed files with 27 additions and 6 deletions

View File

@@ -259,6 +259,10 @@ public class DateUtils extends android.text.format.DateUtils {
return getFormattedDateTime(timestamp, "EEE, MMM d, yyyy", locale);
}
public static String formatDateWithMonthAndDay(@NonNull Locale locale, long timestamp) {
return getFormattedDateTime(timestamp, "MMMM dd", locale);
}
public static String formatDateWithoutDayOfWeek(@NonNull Locale locale, long timestamp) {
return getFormattedDateTime(timestamp, "MMM d yyyy", locale);
}