类 DateRangeFormatter

java.lang.Object
spring.turbo.format.DateRangeFormatter
所有已实现的接口:
org.springframework.format.Formatter<DateRange>, org.springframework.format.Parser<DateRange>, org.springframework.format.Printer<DateRange>

public class DateRangeFormatter extends Object implements org.springframework.format.Formatter<DateRange>
从以下版本开始:
1.3.1
作者:
应卓
  • 构造器详细资料

    • DateRangeFormatter

      public DateRangeFormatter()
      构造方法
  • 方法详细资料

    • parse

      public DateRange parse(String text, Locale locale) throws ParseException
      指定者:
      parse 在接口中 org.springframework.format.Parser<DateRange>
      抛出:
      ParseException
    • print

      public String print(DateRange object, Locale locale)
      指定者:
      print 在接口中 org.springframework.format.Printer<DateRange>
    • setDelimiter

      public void setDelimiter(String delimiter)
    • setDatePattern

      public void setDatePattern(String datePattern)
    • setTimezone

      public void setTimezone(String timezone)
    • setWeekOption

      public void setWeekOption(WeekOption weekOption)
    • setBackupDelimiters

      public final void setBackupDelimiters(String... backupDelimiters)