Package org.daiitech.naftah.builtin.time
Interface NaftahTemporal
- All Known Subinterfaces:
NaftahTemporalAmount,NaftahTemporalPoint
- All Known Implementing Classes:
NaftahDate,NaftahDateTime,NaftahDuration,NaftahPeriod,NaftahPeriodWithDuration,NaftahTime
A sealed marker interface representing any Arabic temporal entity.
This interface is the root of the Arabic temporal type hierarchy. It unifies all temporal concepts handled by the library, whether they represent a specific point in time or a temporal amount.
The hierarchy is intentionally sealed to ensure a clear and controlled API surface and to prevent unsupported temporal types from being introduced.
Permitted subtypes:
NaftahTemporalPoint– represents a specific point in time (e.g. date, time, or date-time)NaftahTemporalAmount– represents a temporal amount (e.g. duration or period)
This interface does not define behavior and serves only as a common semantic contract.
- Author:
- Chakib Daii