File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
app/src/main/kotlin/com/nativeapptemplate/nativeapptemplatefree/utils Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -4,32 +4,12 @@ import java.time.format.DateTimeFormatter
44
55object DateTimeFormatterUtility {
66 private const val CARD_DATE_STRING : String = " MMM dd yyyy"
7- private const val CARD_YEAR_STRING : String = " yyyy"
8- private const val CARD_MONTH_STRING : String = " MMM"
9- private const val CARD_DAY_STRING : String = " dd"
10- private const val CARD_WEEK_DAY_STRING : String = " EEE"
117 private const val CARD_TIME_STRING : String = " HH:mm"
128
139 fun cardDateFormatter (): DateTimeFormatter {
1410 return DateTimeFormatter .ofPattern(CARD_DATE_STRING )
1511 }
1612
17- fun cardYearFormatter (): DateTimeFormatter {
18- return DateTimeFormatter .ofPattern(CARD_YEAR_STRING )
19- }
20-
21- fun cardMonthFormatter (): DateTimeFormatter {
22- return DateTimeFormatter .ofPattern(CARD_MONTH_STRING )
23- }
24-
25- fun cardDayFormatter (): DateTimeFormatter {
26- return DateTimeFormatter .ofPattern(CARD_DAY_STRING )
27- }
28-
29- fun cardWeekDayFormatter (): DateTimeFormatter {
30- return DateTimeFormatter .ofPattern(CARD_WEEK_DAY_STRING )
31- }
32-
3313 fun cardTimeFormatter (): DateTimeFormatter {
3414 return DateTimeFormatter .ofPattern(CARD_TIME_STRING )
3515 }
You can’t perform that action at this time.
0 commit comments