/[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.28 by glavaux, Thu May 20 10:34:33 2004 UTC revision 1.29 by mkoch, Fri Oct 22 17:15:57 2004 UTC
# Line 1  Line 1 
1  /* SimpleDateFormat.java -- A class for parsing/formating simple  /* SimpleDateFormat.java -- A class for parsing/formating simple
2     date constructs     date constructs
3     Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004
4       Free Software Foundation, Inc.
5    
6  This file is part of GNU Classpath.  This file is part of GNU Classpath.
7    
# Line 419  public class SimpleDateFormat extends Da Line 420  public class SimpleDateFormat extends Da
420     * appending to the specified StringBuffer.  The input StringBuffer     * appending to the specified StringBuffer.  The input StringBuffer
421     * is returned as output for convenience.     * is returned as output for convenience.
422     */     */
423    final private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos)    private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos)
424    {    {
425      String temp;      String temp;
426      AttributedCharacterIterator.Attribute attribute;      AttributedCharacterIterator.Attribute attribute;
# Line 584  public class SimpleDateFormat extends Da Line 585  public class SimpleDateFormat extends Da
585      buffer.append(valStr);      buffer.append(valStr);
586    }    }
587    
588    private final boolean expect (String source, ParsePosition pos, char ch)    private boolean expect(String source, ParsePosition pos, char ch)
589    {    {
590      int x = pos.getIndex();      int x = pos.getIndex();
591      boolean r = x < source.length() && source.charAt(x) == ch;      boolean r = x < source.length() && source.charAt(x) == ch;

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

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