Parent Directory | Revision Log | 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 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |