what-the-bank/sources/com/prolificinteractive/materialcalendarview/format/DateFormatDayFormatter.java

26 lines
886 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.prolificinteractive.materialcalendarview.format;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.prolificinteractive.materialcalendarview.CalendarDay;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Locale;
/* loaded from: classes3.dex */
public class DateFormatDayFormatter implements DayFormatter {
private final DateFormat dateFormat;
public DateFormatDayFormatter() {
this.dateFormat = new SimpleDateFormat(KtaJsonExactionHelper.OBJECT, Locale.getDefault());
}
public DateFormatDayFormatter(DateFormat dateFormat) {
this.dateFormat = dateFormat;
}
@Override // com.prolificinteractive.materialcalendarview.format.DayFormatter
public String format(CalendarDay calendarDay) {
return this.dateFormat.format(calendarDay.getDate());
}
}