mirror of https://github.com/apache/poi.git
Fix forbidden apis error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855672 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aa438b6f2d
commit
19005a4e63
|
@ -71,7 +71,7 @@ public class DateUtil {
|
|||
.appendPattern("[[yyyy ]dd-MMM[-yyyy]][[ ]h:m[:s] a][[ ]H:m[:s]]")
|
||||
.appendPattern("[M/dd[/yyyy]][[ ]h:m[:s] a][[ ]H:m[:s]]")
|
||||
.appendPattern("[[yyyy/]M/dd][[ ]h:m[:s] a][[ ]H:m[:s]]")
|
||||
.parseDefaulting(ChronoField.YEAR_OF_ERA, Calendar.getInstance().get(Calendar.YEAR))
|
||||
.parseDefaulting(ChronoField.YEAR_OF_ERA, LocaleUtil.getLocaleCalendar().get(Calendar.YEAR))
|
||||
.toFormatter();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue