Class FuzzyTimePoint
java.lang.Object
org.episteme.social.history.time.FuzzyTimePoint
- All Implemented Interfaces:
Serializable, Comparable<TimeCoordinate>, Temporal<TimeCoordinate>, TimeCoordinate
Represents a historical or cosmic date with varying degrees of precision and uncertainty.
- Since:
- 2.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic FuzzyTimePointbce(long year) static FuzzyTimePointcirca(long year) static FuzzyTimePointcircaBce(long year) intcompareTo(TimeCoordinate other) booleangetEra()Returns the precision of this coordinate.getYear()inthashCode()booleanisFuzzy()Returns whether this coordinate represents a range or has uncertainty.static FuzzyTimePointof(long year) static FuzzyTimePointof(long year, int month) static FuzzyTimePointof(long year, int month, int day) Returns the exact instant this coordinate represents.toString()static FuzzyTimePointunknown()Methods inherited from interface TimeCoordinate
getWhen
-
Method Details
-
of
-
of
-
of
-
circa
-
bce
-
circaBce
-
unknown
-
getPrecision
Description copied from interface:TimeCoordinateReturns the precision of this coordinate.- Specified by:
getPrecisionin interfaceTimeCoordinate- Returns:
- the precision level
-
getYear
-
getEra
-
isFuzzy
public boolean isFuzzy()Description copied from interface:TimeCoordinateReturns whether this coordinate represents a range or has uncertainty.- Specified by:
isFuzzyin interfaceTimeCoordinate- Returns:
- true if fuzzy or interval-based
-
toInstant
Description copied from interface:TimeCoordinateReturns the exact instant this coordinate represents. If the coordinate is fuzzy or an interval, this returns a representative point.- Specified by:
toInstantin interfaceTimeCoordinate- Returns:
- the instant
-
compareTo
- Specified by:
compareToin interfaceComparable<TimeCoordinate>
-
toString
-
equals
-
hashCode
-