Format.
This commit is contained in:
parent
bcc7c0c858
commit
f3a7cf629c
|
@ -236,8 +236,7 @@ public class FastDateParser implements DateParser, Serializable {
|
||||||
char c = pattern.charAt(currentIdx);
|
char c = pattern.charAt(currentIdx);
|
||||||
if (!activeQuote && isFormatLetter(c)) {
|
if (!activeQuote && isFormatLetter(c)) {
|
||||||
break;
|
break;
|
||||||
}
|
} else if (c == '\'') {
|
||||||
else if( c=='\'' ) {
|
|
||||||
if (++currentIdx == pattern.length() || pattern.charAt(currentIdx) != '\'') {
|
if (++currentIdx == pattern.length() || pattern.charAt(currentIdx) != '\'') {
|
||||||
activeQuote = !activeQuote;
|
activeQuote = !activeQuote;
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue