/[classpath]/classpath/java/text/SimpleDateFormat.java
ViewVC logotype

Diff of /classpath/java/text/SimpleDateFormat.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by bryce, Sun Sep 28 04:25:44 2003 UTC revision 1.23 by mkoch, Thu Oct 2 20:10:47 2003 UTC
# Line 117  public class SimpleDateFormat extends Da Line 117  public class SimpleDateFormat extends Da
117        field = formatData.getLocalPatternChars().indexOf(thisChar);        field = formatData.getLocalPatternChars().indexOf(thisChar);
118        if (field == -1) {        if (field == -1) {
119          current = null;          current = null;
120          if (Character.isLetter(thisChar)) {          if (Character.isLowerCase (thisChar)
121                || Character.isUpperCase (thisChar)) {
122            // Not a valid letter            // Not a valid letter
123            tokens.add(new FieldSizePair(-1,0));            tokens.add(new FieldSizePair(-1,0));
124          } else if (thisChar == '\'') {          } else if (thisChar == '\'') {

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26