org.springframework.roo.addon.web.mvc.controller.details
Class DateTimeFormatDetails
java.lang.Object
org.springframework.roo.addon.web.mvc.controller.details.DateTimeFormatDetails
public class DateTimeFormatDetails
- extends Object
Simple detail holder for date formats.
- Since:
- 1.1.2
- Author:
- Rossen Stoyanchev
pattern
public String pattern
style
public String style
DateTimeFormatDetails
public DateTimeFormatDetails()
withPattern
public static DateTimeFormatDetails withPattern(String pattern)
- Factory method for a
DateTimeFormatDetails with the given pattern
- Parameters:
the - pattern to set (can be null)
- Returns:
- a non-
null instance
withStyle
public static DateTimeFormatDetails withStyle(String style)
- Factory method for a
DateTimeFormatDetails with the given style
- Parameters:
style - the style to set (can be null)
- Returns:
- a non-
null instance
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009–2015. All rights reserved.