public final class SdkGlobalTime extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getGlobalTimeOffset()
Gets the global time difference in seconds between the running JVM and
AWS.
|
static void |
setGlobalTimeOffset(int timeOffset)
Sets the global time difference in seconds between the running JVM and
AWS.
|
public static int getGlobalTimeOffset()
Request#getTimeOffset() if global time offset is
not set.public static void setGlobalTimeOffset(int timeOffset)
AmazonHttpClient will start using this
value to generate timestamps.timeOffset - the time difference in seconds between the running JVM and AWSCopyright © 2020. All rights reserved.