| | |
| | | switch (timeType) { |
| | | case TimeType.day: { |
| | | timeDateFormat = TimeUtils.zhDateYearMonthDayFormat; |
| | | if (!UserConfigManage.getInstance().isZh()) { |
| | | if (!UserConfigManage.getInstance().getCurrentAppLanguage().equals(Languages.zh)) { |
| | | timeDateFormat = TimeUtils.enDateYearMonthDayFormat; |
| | | } |
| | | } |
| | | break; |
| | | case TimeType.month: { |
| | | timeDateFormat = TimeUtils.zhDateYearMonthFormat; |
| | | if (!UserConfigManage.getInstance().isZh()) { |
| | | if (!UserConfigManage.getInstance().getCurrentAppLanguage().equals(Languages.zh)) { |
| | | timeDateFormat = TimeUtils.enDateYearMonthFormat; |
| | | } |
| | | } |
| | |
| | | case TimeType.year: |
| | | case TimeType.all: { |
| | | timeDateFormat = TimeUtils.zhDateYearFormat; |
| | | if (!UserConfigManage.getInstance().isZh()) { |
| | | if (!UserConfigManage.getInstance().getCurrentAppLanguage().equals(Languages.zh)) { |
| | | timeDateFormat = TimeUtils.enDateYearFormat; |
| | | } |
| | | } |