Class HistoricalTimeline
java.lang.Object
org.episteme.social.history.Timeline<HistoricalEvent>
org.episteme.social.history.HistoricalTimeline
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
A timeline representing a sequence of historical events.
Provides analytical methods to filter and explore historical periods.
* @version 2.0
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEvent(HistoricalEvent event) Returns events occurring in the BCE (Before Common Era) period.getEventsByCategory(EventCategory category) Returns events in a specific category.longReturns the approximate total time span of this timeline in years.static HistoricalTimelineReturns a standard timeline of major world history events.Methods inherited from class Timeline
equals, getEarliestEvent, getEvents, getEventsBetween, getId, getLatestEvent, getTraits, hashCode, removeEvent, toStringMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
HistoricalTimeline
-
-
Method Details
-
worldHistory
Returns a standard timeline of major world history events.- Returns:
- world history timeline
-
addEvent
- Overrides:
addEventin classTimeline<HistoricalEvent>
-
getEventsByCategory
Returns events in a specific category.- Parameters:
category- the category to filter by- Returns:
- filtered unmodifiable list of events
-
getBceEvents
Returns events occurring in the BCE (Before Common Era) period.- Returns:
- unmodifiable list of BCE events
-
getTimeSpanYears
public long getTimeSpanYears()Returns the approximate total time span of this timeline in years.- Returns:
- time span in years
-