public class SdkGlobalTime extends Object
| Constructor | Description |
|---|---|
SdkGlobalTime() |
| Modifier and Type | Method | 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.