类 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
- 作者:
- 应卓
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明final voidsetBackupDelimiters(String... backupDelimiters) voidsetDatePattern(String datePattern) voidsetDelimiter(String delimiter) voidsetTimezone(String timezone) voidsetWeekOption(WeekOption weekOption)
-
构造器详细资料
-
DateRangeFormatter
public DateRangeFormatter()构造方法
-
-
方法详细资料
-
parse
- 指定者:
parse在接口中org.springframework.format.Parser<DateRange>- 抛出:
ParseException
-
print
- 指定者:
print在接口中org.springframework.format.Printer<DateRange>
-
setDelimiter
-
setDatePattern
-
setTimezone
-
setWeekOption
-
setBackupDelimiters
-