Static Public Member Functions | |
static int64_t | currentTimeMillis () |
static String | getProperty (const String &key) |
static void | setProperty (const String &key, const String &value) |
int64_t currentTimeMillis | ( | ) | [static] |
Returns the current time in milliseconds since midnight (0 hour), January 1, 1970.
Returns the current time in milliseconds. Note that while the unit of time of the return value is a millisecond, the granularity of the value depends on the underlying operating system and may be larger. For example, many operating systems measure time in units of tens of milliseconds.
String getProperty | ( | const String & | key | ) | [static] |
Gets the system property indicated by the specified key.
key | the name of the system property. |
IllegalArgumentException | if key is empty. |
void setProperty | ( | const String & | key, | |
const String & | value | |||
) | [static] |
Sets the system property indicated by the specified key.
key | the name of the system property. | |
value | the value of the system property. |
IllegalArgumentException | if key is empty. |