*/
public void test_applyLocalizedPatternLjava_lang_String() {
// Test for method void
// java.text.SimpleDateFormat.applyLocalizedPattern(java.lang.String)
SimpleDateFormat f2 = new SimpleDateFormat("y", new Locale("de", "CH"));
f2.applyLocalizedPattern("GuMtkHmsSEDFwWahKz");
String pattern = f2.toPattern();
assertTrue("Wrong pattern: " + pattern, pattern
.equals("GyMdkHmsSEDFwWahKz"));
// test the new "Z" pattern char