org.kuali.student.r2.common.util.date
Class DateFormatters
java.lang.Object
org.kuali.student.r2.common.util.date.DateFormatters
public class DateFormatters
- extends Object
Created with IntelliJ IDEA.
User: gtaylor
Date: 11/6/12
Time: 1:44 PM
This file contains a default list of usable date format strings as well as formatters that can be called from code.
It was created because we were using SimpleDateFormat throughout the system and that is both expensive and not
thread safe.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATE_CHANGE_DATE_FORMAT
public static final String STATE_CHANGE_DATE_FORMAT
- MAKE SURE YOU ADD ALL NEW FORMATS TO THE UNIT TEST CLASS: KSDateFormatterTest.java
- See Also:
- Constant Field Values
DEFAULT_DATE_FORMAT
public static final String DEFAULT_DATE_FORMAT
- See Also:
- Constant Field Values
DEFAULT_TIMESTAMP_FORMAT
public static final String DEFAULT_TIMESTAMP_FORMAT
- See Also:
- Constant Field Values
SERVER_DATE_PARSER_FORMAT
public static final String SERVER_DATE_PARSER_FORMAT
- See Also:
- Constant Field Values
DYNAMIC_ATTRIBUTE_DATE_FORMAT
public static final String DYNAMIC_ATTRIBUTE_DATE_FORMAT
- See Also:
- Constant Field Values
MONTH_DAY_YEAR_TIME_DATE_FORMAT
public static final String MONTH_DAY_YEAR_TIME_DATE_FORMAT
- See Also:
- Constant Field Values
MONTH_DAY_YEAR_DATE_FORMAT
public static final String MONTH_DAY_YEAR_DATE_FORMAT
- See Also:
- Constant Field Values
YEAR_MONTH_DAY_CONCAT_DATE_FORMAT
public static final String YEAR_MONTH_DAY_CONCAT_DATE_FORMAT
- See Also:
- Constant Field Values
COURSE_OFFERING_VIEW_HELPER_DATE_FORMAT
public static final String COURSE_OFFERING_VIEW_HELPER_DATE_FORMAT
- See Also:
- Constant Field Values
COURSE_OFFERING_VIEW_HELPER_DATE_TIME_FORMAT
public static final String COURSE_OFFERING_VIEW_HELPER_DATE_TIME_FORMAT
- See Also:
- Constant Field Values
HOUR_MINUTE_TIME_FORMAT
public static final String HOUR_MINUTE_TIME_FORMAT
- See Also:
- Constant Field Values
HOUR_MINUTE_AM_PM_TIME_FORMAT
public static final String HOUR_MINUTE_AM_PM_TIME_FORMAT
- See Also:
- Constant Field Values
AM_PM_TIME_FORMAT
public static final String AM_PM_TIME_FORMAT
- See Also:
- Constant Field Values
DEFULT_YEAR_FORMAT
public static final String DEFULT_YEAR_FORMAT
- See Also:
- Constant Field Values
DYNAMIC_ATTRIBUTE_SHORT_ZONE_DATE_FORMAT
public static final String DYNAMIC_ATTRIBUTE_SHORT_ZONE_DATE_FORMAT
- DO NOT USE THIS CONSTANT unless you absolutly have to and for Date->String only.
The lower case z tells the formatter to use a 'short' timezone. ie. EST. This can
be format printted, but not parsed. EST is ambigious and cannot be parsed from a String to a Date.
- See Also:
- Constant Field Values
STATE_CHANGE_DATE_FORMATTER
public static final KSDateTimeFormatter STATE_CHANGE_DATE_FORMATTER
DEFAULT_DATE_FORMATTER
public static final KSDateTimeFormatter DEFAULT_DATE_FORMATTER
DEFAULT_TIMESTAMP_FORMATTER
public static final KSDateTimeFormatter DEFAULT_TIMESTAMP_FORMATTER
SERVER_DATE_PARSER_FORMATTER
public static final KSDateTimeFormatter SERVER_DATE_PARSER_FORMATTER
DYNAMIC_ATTRIBUTE_DATE_FORMATTER
public static final KSDateTimeFormatter DYNAMIC_ATTRIBUTE_DATE_FORMATTER
MONTH_DAY_YEAR_TIME_DATE_FORMATTER
public static final KSDateTimeFormatter MONTH_DAY_YEAR_TIME_DATE_FORMATTER
MONTH_DAY_YEAR_DATE_FORMATTER
public static final KSDateTimeFormatter MONTH_DAY_YEAR_DATE_FORMATTER
YEAR_MONTH_DAY_CONCAT_DATE_FORMATTER
public static final KSDateTimeFormatter YEAR_MONTH_DAY_CONCAT_DATE_FORMATTER
COURSE_OFFERING_VIEW_HELPER_DATE_FORMATTER
public static final KSDateTimeFormatter COURSE_OFFERING_VIEW_HELPER_DATE_FORMATTER
COURSE_OFFERING_VIEW_HELPER_DATE_TIME_FORMATTER
public static final KSDateTimeFormatter COURSE_OFFERING_VIEW_HELPER_DATE_TIME_FORMATTER
HOUR_MINUTE_TIME_FORMATTER
public static final KSDateTimeFormatter HOUR_MINUTE_TIME_FORMATTER
HOUR_MINUTE_AM_PM_TIME_FORMATTER
public static final KSDateTimeFormatter HOUR_MINUTE_AM_PM_TIME_FORMATTER
AM_PM_TIME_FORMATTER
public static final KSDateTimeFormatter AM_PM_TIME_FORMATTER
DEFULT_YEAR_FORMATTER
public static final KSDateTimeFormatter DEFULT_YEAR_FORMATTER
DateFormatters
public DateFormatters()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.