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 IAS4TimestampManagerdefault LocalDatedefault OffsetTimedefault com.helger.commons.datetime.XMLOffsetDateTime
-
Method Details
-
getCurrentDateTime
- Returns:
- The current date in time in the current time zone. Never
null.
-
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
-