← 返回首页
ChronoField (Java SE 26 & JDK 26)
JavaScript is disabled on your browser.
Contents  
  1. Description
  2. Nested Class Summary
  3. Enum Constant Summary
  4. Method Summary
    1. Methods declared in class Enum
    2. Methods declared in class Object
    3. Methods declared in interface TemporalField
  5. Enum Constant Details
    1. NANO_OF_SECOND
    2. NANO_OF_DAY
    3. MICRO_OF_SECOND
    4. MICRO_OF_DAY
    5. MILLI_OF_SECOND
    6. MILLI_OF_DAY
    7. SECOND_OF_MINUTE
    8. SECOND_OF_DAY
    9. MINUTE_OF_HOUR
    10. MINUTE_OF_DAY
    11. HOUR_OF_AMPM
    12. CLOCK_HOUR_OF_AMPM
    13. HOUR_OF_DAY
    14. CLOCK_HOUR_OF_DAY
    15. AMPM_OF_DAY
    16. DAY_OF_WEEK
    17. ALIGNED_DAY_OF_WEEK_IN_MONTH
    18. ALIGNED_DAY_OF_WEEK_IN_YEAR
    19. DAY_OF_MONTH
    20. DAY_OF_YEAR
    21. EPOCH_DAY
    22. ALIGNED_WEEK_OF_MONTH
    23. ALIGNED_WEEK_OF_YEAR
    24. MONTH_OF_YEAR
    25. PROLEPTIC_MONTH
    26. YEAR_OF_ERA
    27. YEAR
    28. ERA
    29. INSTANT_SECONDS
    30. OFFSET_SECONDS
  6. Method Details
    1. values()
    2. valueOf(String)
    3. getBaseUnit()
    4. getRangeUnit()
    5. range()
    6. isDateBased()
    7. isTimeBased()
    8. checkValidValue(long)
    9. checkValidIntValue(long)
    10. isSupportedBy(TemporalAccessor)
    11. rangeRefinedBy(TemporalAccessor)
    12. getFrom(TemporalAccessor)
    13. adjustInto(R, long)
    14. toString()
Hide sidebar  Show sidebar

Enum Class ChronoField

java.lang.Object
java.lang.Enum<ChronoField>
java.time.temporal.ChronoField
All Implemented Interfaces: Serializable, Comparable<ChronoField>, Constable, TemporalField
public enum ChronoField extends Enum<ChronoField> implements TemporalField
A standard set of fields.

This set of fields provide field-based access to manipulate a date, time or date-time. The standard set of fields can be extended by implementing TemporalField.

These fields are intended to be applicable in multiple calendar systems. For example, most non-ISO calendar systems define dates as a year, month and day, just with slightly different rules. The documentation of each field explains how it operates.

Implementation Requirements: This is a final, immutable and thread-safe enum. Since: 1.8

Scripting on this page tracks web page traffic, but does not change the content in any way.