/[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.2.12 by gnu_andrew, Sun Mar 13 14:38:42 2005 UTC revision 1.28.2.13 by gnu_andrew, Mon Apr 18 01:37:39 2005 UTC
# Line 680  public class SimpleDateFormat extends Da Line 680  public class SimpleDateFormat extends Da
680                  buffer.setDefaultAttribute (DateFormat.Field.YEAR);                  buffer.setDefaultAttribute (DateFormat.Field.YEAR);
681                  if (cf.getSize() == 2)                  if (cf.getSize() == 2)
682                    {                    {
683                      temp = String.valueOf (calendar.get (Calendar.YEAR));                      temp = "00"+String.valueOf (calendar.get (Calendar.YEAR));
684                      buffer.append (temp.substring (temp.length() - 2));                      buffer.append (temp.substring (temp.length() - 2));
685                    }                    }
686                  else                  else

Legend:
Removed from v.1.28.2.12  
changed lines
  Added in v.1.28.2.13

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