public class SDKGlobalTime extends Object
Constructor and Description |
---|
SDKGlobalTime() |
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 void setGlobalTimeOffset(int timeOffset)
AmazonHttpClient
will start using this
value to generate timestamps.timeOffset
- the time difference in seconds between the running JVM and AWSpublic static int getGlobalTimeOffset()
Request#getTimeOffset()
if global time offset is
not set.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.