java.lang.Object java.time.format.DateTimeFormatter
public final class DateTimeFormatter extends java.lang.Object
A venir.
Qualificateurs | Type | Nom | Description |
---|---|---|---|
public static | DateTimeFormatter | BASIC_ISO_DATE | |
public static | DateTimeFormatter | ISO_DATE | |
public static | DateTimeFormatter | ISO_DATE_TIME | |
public static | DateTimeFormatter | ISO_INSTANT | |
public static | DateTimeFormatter | ISO_LOCAL_DATE | |
public static | DateTimeFormatter | ISO_LOCAL_DATE_TIME | |
public static | DateTimeFormatter | ISO_LOCAL_TIME | |
public static | DateTimeFormatter | ISO_OFFSET_DATE | |
public static | DateTimeFormatter | ISO_OFFSET_DATE_TIME | |
public static | DateTimeFormatter | ISO_OFFSET_TIME | |
public static | DateTimeFormatter | ISO_ORDINAL_DATE | |
public static | DateTimeFormatter | ISO_TIME | |
public static | DateTimeFormatter | ISO_WEEK_DATE | |
public static | DateTimeFormatter | ISO_ZONED_DATE_TIME | |
public static | DateTimeFormatter | RFC_1123_DATE_TIME |
Constructeur | Description |
---|
Qualificateurs | Type | Nom | R/W |
---|---|---|---|
public | Chronology | chronology | R/- |
public | DecimalStyle | decimalStyle | R/- |
public | Locale | locale | R/- |
public | Set | resolverFields | R/- |
public | ResolverStyle | resolverStyle | R/- |
public | ZoneId | zone | R/- |
Qualificateurs | Type de retour | Prototype de la méthode | Description |
---|---|---|---|
public | String | format( TemporalAccessor temporal ) | |
public | void | formatTo( TemporalAccessor temporal, Appendable appendable ) | |
public | Chronology | getChronology() | |
public | DecimalStyle | getDecimalStyle() | |
public | Locale | getLocale() | |
public | Set<java.time.temporal.TemporalField> | getResolverFields() | |
public | ResolverStyle | getResolverStyle() | |
public | ZoneId | getZone() | |
public | DateTimeFormatter | localizedBy( Locale locale ) | |
public static | DateTimeFormatter | ofLocalizedDate( FormatStyle dateStyle ) | |
public static | DateTimeFormatter | ofLocalizedDateTime( FormatStyle dateTimeStyle ) | |
public static | DateTimeFormatter | ofLocalizedDateTime( FormatStyle dateStyle, FormatStyle timeStyle ) | |
public static | DateTimeFormatter | ofLocalizedTime( FormatStyle timeStyle ) | |
public static | DateTimeFormatter | ofPattern( String pattern ) | |
public static | DateTimeFormatter | ofPattern( String pattern, Locale locale ) | |
public | TemporalAccessor | parse( CharSequence text, ParsePosition position ) | |
public | TemporalAccessor | parse( CharSequence text ) | |
public <T> | T | parse( CharSequence text, TemporalQuery<T> query ) | |
public | TemporalAccessor | parseBest( CharSequence text, TemporalQuery<?>[] queries ) | |
public static | TemporalQuery<java.time.Period> | parsedExcessDays() | |
public static | TemporalQuery<java.lang.Boolean> | parsedLeapSecond() | |
public | TemporalAccessor | parseUnresolved( CharSequence text, ParsePosition position ) | |
public | Format | toFormat( TemporalQuery<?> parseQuery ) | |
public | Format | toFormat() | |
public | String | toString() | |
public | DateTimeFormatter | withChronology( Chronology chrono ) | |
public | DateTimeFormatter | withDecimalStyle( DecimalStyle decimalStyle ) | |
public | DateTimeFormatter | withLocale( Locale locale ) | |
public | DateTimeFormatter | withResolverFields( TemporalField[] arg0 ) | |
public | DateTimeFormatter | withResolverFields( Set<java.time.temporal.TemporalField> resolverFields ) | |
public | DateTimeFormatter | withResolverStyle( ResolverStyle resolverStyle ) | |
public | DateTimeFormatter | withZone( ZoneId zone ) |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :