Package com.atlassian.jira.database
Interface DatabaseSystemTimeReader
- All Known Implementing Classes:
SqlStatementTimeReader
@ExperimentalApi
public interface DatabaseSystemTimeReader
Reads the current system time from the database.
- Since:
- 6.3.4
-
Method Summary
-
Method Details
-
getDatabaseSystemTimeMillis
- Returns:
- the current system time according to the database in milliseconds. Potentially a database-dependent value (it may not necessarily be number of milliseconds since 1970 but must be in milliseconds from a constant offset).
- Throws:
SQLException
- if a database error occurs.
-