Lines Matching defs:style

419      * Constant for full style pattern.
423 * Constant for long style pattern.
427 * Constant for medium style pattern.
431 * Constant for short style pattern.
435 * Constant for default style pattern. Its value is MEDIUM.
440 * Gets the time formatter with the default formatting style
450 * Gets the time formatter with the given formatting style
452 * @param style the given formatting style. For example,
456 public final static DateFormat getTimeInstance(int style)
458 return get(style, 0, 1, Locale.getDefault(Locale.Category.FORMAT));
462 * Gets the time formatter with the given formatting style
464 * @param style the given formatting style. For example,
469 public final static DateFormat getTimeInstance(int style,
472 return get(style, 0, 1, aLocale);
476 * Gets the date formatter with the default formatting style
486 * Gets the date formatter with the given formatting style
488 * @param style the given formatting style. For example,
492 public final static DateFormat getDateInstance(int style)
494 return get(0, style, 2, Locale.getDefault(Locale.Category.FORMAT));
498 * Gets the date formatter with the given formatting style
500 * @param style the given formatting style. For example,
505 public final static DateFormat getDateInstance(int style,
508 return get(0, style, 2, aLocale);
512 * Gets the date/time formatter with the default formatting style
524 * @param dateStyle the given date formatting style. For example,
526 * @param timeStyle the given time formatting style. For example,
539 * @param dateStyle the given date formatting style.
540 * @param timeStyle the given time formatting style.
551 * Get a default date/time formatter that uses the SHORT style for both the
729 * Creates a DateFormat with the given time and/or date style in the given
743 throw new IllegalArgumentException("Illegal time style " + timeStyle);
750 throw new IllegalArgumentException("Illegal date style " + dateStyle);