com.ibm.commerce.soi.utils

Class XMLDateTimeFormat

  • java.lang.Object
    • java.text.Format
      • com.ibm.icu.text.UFormat
        • com.ibm.icu.text.DateFormat
          • com.ibm.commerce.soi.utils.XMLDateTimeFormat
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class XMLDateTimeFormat
    extends com.ibm.icu.text.DateFormat
    A DateFormat subclass for XML dateTime.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.ibm.icu.text.DateFormat

        com.ibm.icu.text.DateFormat.BooleanAttribute, com.ibm.icu.text.DateFormat.Field
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The IBM copyright notice field.
      • Fields inherited from class com.ibm.icu.text.DateFormat

        ABBR_GENERIC_TZ, ABBR_MONTH, ABBR_MONTH_DAY, ABBR_MONTH_WEEKDAY_DAY, ABBR_QUARTER, ABBR_SPECIFIC_TZ, ABBR_STANDALONE_MONTH, ABBR_UTC_TZ, ABBR_WEEKDAY, AM_PM_FIELD, DATE_FIELD, DAY, DAY_OF_WEEK_FIELD, DAY_OF_WEEK_IN_MONTH_FIELD, DAY_OF_YEAR_FIELD, DEFAULT, DOW_LOCAL_FIELD, ERA_FIELD, EXTENDED_YEAR_FIELD, FIELD_COUNT, FRACTIONAL_SECOND_FIELD, FULL, GENERIC_TZ, HOUR, HOUR_GENERIC_TZ, HOUR_MINUTE, HOUR_MINUTE_GENERIC_TZ, HOUR_MINUTE_SECOND, HOUR_MINUTE_TZ, HOUR_OF_DAY0_FIELD, HOUR_OF_DAY1_FIELD, HOUR_TZ, HOUR0_FIELD, HOUR1_FIELD, HOUR24, HOUR24_MINUTE, HOUR24_MINUTE_SECOND, JULIAN_DAY_FIELD, LOCATION_TZ, LONG, MEDIUM, MILLISECOND_FIELD, MILLISECONDS_IN_DAY_FIELD, MINUTE, MINUTE_FIELD, MINUTE_SECOND, MONTH, MONTH_DAY, MONTH_FIELD, MONTH_WEEKDAY_DAY, NONE, NUM_MONTH, NUM_MONTH_DAY, NUM_MONTH_WEEKDAY_DAY, QUARTER, QUARTER_FIELD, RELATIVE, RELATIVE_DEFAULT, RELATIVE_FULL, RELATIVE_LONG, RELATIVE_MEDIUM, RELATIVE_SHORT, SECOND, SECOND_FIELD, SHORT, SPECIFIC_TZ, STANDALONE_DAY_FIELD, STANDALONE_MONTH, STANDALONE_MONTH_FIELD, STANDALONE_QUARTER_FIELD, TIME_SEPARATOR, TIMEZONE_FIELD, TIMEZONE_GENERIC_FIELD, TIMEZONE_ISO_FIELD, TIMEZONE_ISO_LOCAL_FIELD, TIMEZONE_LOCALIZED_GMT_OFFSET_FIELD, TIMEZONE_RFC_FIELD, TIMEZONE_SPECIAL_FIELD, WEEK_OF_MONTH_FIELD, WEEK_OF_YEAR_FIELD, WEEKDAY, YEAR, YEAR_ABBR_MONTH, YEAR_ABBR_MONTH_DAY, YEAR_ABBR_MONTH_WEEKDAY_DAY, YEAR_ABBR_QUARTER, YEAR_FIELD, YEAR_MONTH, YEAR_MONTH_DAY, YEAR_MONTH_WEEKDAY_DAY, YEAR_NAME_FIELD, YEAR_NUM_MONTH, YEAR_NUM_MONTH_DAY, YEAR_NUM_MONTH_WEEKDAY_DAY, YEAR_QUARTER, YEAR_WOY_FIELD
    • Constructor Summary

      Constructors 
      Constructor and Description
      XMLDateTimeFormat()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.StringBuffer format(com.ibm.icu.util.Calendar calendar, java.lang.StringBuffer toAppendTo, java.text.FieldPosition fieldPosition) 
      java.lang.StringBuffer format(java.util.Date date, java.lang.StringBuffer toAppendTo, java.text.FieldPosition fieldPosition) 
      void parse(java.lang.String source, com.ibm.icu.util.Calendar calendar, java.text.ParsePosition pos) 
      java.util.Date parse(java.lang.String source, java.text.ParsePosition pos) 
      • Methods inherited from class com.ibm.icu.text.DateFormat

        clone, equals, format, format, getAvailableLocales, getAvailableULocales, getBooleanAttribute, getCalendar, getContext, getDateInstance, getDateInstance, getDateInstance, getDateInstance, getDateInstance, getDateInstance, getDateInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getInstance, getInstance, getInstance, getInstance, getInstanceForSkeleton, getInstanceForSkeleton, getInstanceForSkeleton, getInstanceForSkeleton, getInstanceForSkeleton, getNumberFormat, getPatternInstance, getPatternInstance, getPatternInstance, getPatternInstance, getPatternInstance, getTimeInstance, getTimeInstance, getTimeInstance, getTimeInstance, getTimeInstance, getTimeInstance, getTimeInstance, getTimeZone, hashCode, isCalendarLenient, isLenient, parse, parseObject, setBooleanAttribute, setCalendar, setCalendarLenient, setContext, setLenient, setNumberFormat, setTimeZone
      • Methods inherited from class com.ibm.icu.text.UFormat

        getLocale
      • Methods inherited from class java.text.Format

        format, formatToCharacterIterator, parseObject
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • XMLDateTimeFormat

        public XMLDateTimeFormat()
        Default constructor.
    • Method Detail

      • format

        public java.lang.StringBuffer format(java.util.Date date,
                                             java.lang.StringBuffer toAppendTo,
                                             java.text.FieldPosition fieldPosition)
        Overrides:
        format in class com.ibm.icu.text.DateFormat
        See Also:
        DateFormat.format(java.util.Date, java.lang.StringBuffer, java.text.FieldPosition)
      • parse

        public java.util.Date parse(java.lang.String source,
                                    java.text.ParsePosition pos)
        Overrides:
        parse in class com.ibm.icu.text.DateFormat
        See Also:
        DateFormat.parse(java.lang.String, java.text.ParsePosition)
      • format

        public java.lang.StringBuffer format(com.ibm.icu.util.Calendar calendar,
                                             java.lang.StringBuffer toAppendTo,
                                             java.text.FieldPosition fieldPosition)
        Specified by:
        format in class com.ibm.icu.text.DateFormat
        See Also:
        DateFormat.format(Calendar, StringBuffer, FieldPosition)
      • parse

        public void parse(java.lang.String source,
                          com.ibm.icu.util.Calendar calendar,
                          java.text.ParsePosition pos)
        Specified by:
        parse in class com.ibm.icu.text.DateFormat
        See Also:
        DateFormat.parse(String, Calendar, ParsePosition)