AbstractChronology

public abstract class AbstractChronology
extends Object implements Chronology

java.lang.Object
   ↳ java.time.chrono.AbstractChronology


An abstract implementation of a calendar system, used to organize and identify dates.

The main date and time API is built on the ISO calendar system. The chronology operates behind the scenes to represent the general concept of a calendar system.

See Chronology for more details.

Summary

Protected constructors

AbstractChronology()

Creates an instance.

Public methods

int compareTo(Chronology other)

Compares this chronology to another chronology.

boolean equals(Object obj)

Checks if this chronology is equal to another chronology.

int hashCode()

A hash code for this chronology.

ChronoLocalDate resolveDate(Map<TemporalFieldLong> fieldValues, ResolverStyle resolverStyle)

Resolves parsed ChronoField values into a date during parsing.

String toString()

Outputs this chronology as a String, using the chronology ID.

Inherited methods