updated favoring style pattern string instead of Style enum for DateTimeFormat

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2304 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Keith Donald
2009-11-09 21:07:41 +00:00
parent 88c16dbd4d
commit bc9ef36f26
7 changed files with 80 additions and 116 deletions
@@ -59,7 +59,7 @@ public class MvcNamespaceTests {
public static class TestController {
@RequestMapping
public void testBind(@RequestParam @DateTimeFormat(dateStyle=Style.MEDIUM) Date date) {
public void testBind(@RequestParam @DateTimeFormat(dateStyle=ISO.MEDIUM) Date date) {
System.out.println(date);
}
}