Package com.helger.phase4.mgr
Interface IAS4TimestampManager
public interface IAS4TimestampManager
Interface for providing time stamps.
The precision of all the methods in this class is milliseconds, so that it stays compatible to XML serialization. Since version 1.1.0 the return types of the methods changed from
The precision of all the methods in this class is milliseconds, so that it stays compatible to XML serialization. Since version 1.1.0 the return types of the methods changed from
Local(Date|Time|DateTime) to Offset(Date|Time|DateTime)- Since:
- 0.10.0
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull IAS4TimestampManagerdefault @NonNull LocalDate@NonNull OffsetDateTimedefault @NonNull OffsetTimedefault @NonNull com.helger.datetime.xml.XMLOffsetDateTime
-
Method Details
-
getCurrentDateTime
@NonNull OffsetDateTime getCurrentDateTime()- Returns:
- The current date in time in the current time zone. Never
null.
-
getCurrentXMLDateTime
default @NonNull com.helger.datetime.xml.XMLOffsetDateTime getCurrentXMLDateTime()- Returns:
- The current date in time in the current time zone for XML processing. Never
null.
-
getCurrentDate
- Returns:
- The current date in the current time zone. Never
null. - Since:
- 0.10.4
-
getCurrentTime
- Returns:
- The current time in the current time zone. Never
null. - Since:
- 0.10.4
-
createDefaultInstance
-