View Javadoc

1   package org.kuali.student.r2.common.util;
2   
3   /**
4    * Used to help format the time
5    */
6   public enum TimeOfDayFormattingEnum {
7       USE_TWO_DIGITS_FOR_HOURS, // Use a leading zero if this exists (By default, use one digit)
8       USE_MILITARY_TIME, // Use military time 0-23 (By default, use 12 hour time)
9       USE_ALL_CAPS_AM_PM, // Use AM/PM. (By default, use lowercase am/pm).  Not used in military time.  Takes precedence
10                          // over CAPITALIZE_AM_PM
11      CAPITALIZE_AM_PM, // Use Am/Pm.  (By default, use lowercase am/pm). Not used in military time
12      USE_ONLY_FIRST_LETTER_AM_PM // Either A/P depending on capitalization of previous (By default, use two letters
13                                  // unless military time
14  }