5 Interface net.connman.Clock
8 Methods dict GetProperties()
10 Returns all system clock properties. See the
11 properties section for available properties.
13 Possible Errors: [service].Error.InvalidArguments
15 void SetProperty(string name, variant value)
17 Changes the value of the specified property. Only
18 properties that are listed as read-write are
19 changeable. On success a PropertyChanged signal
22 Possible Errors: [service].Error.InvalidArguments
23 [service].Error.InvalidProperty
25 Signals PropertyChanged(string name, variant value)
27 This signal indicates a changed value of the given
31 Properties uint64 Time [readonly or readwrite]
33 Current system time in seconds since epoch.
35 This value is present for changing the system time
36 if TimeUpdates is set to manual.
38 It is not present for driving an updated display
39 of the system time. PropertyChanged signal for this
40 value are only send out if it gets changed or jumps
43 In general application interested in the current
44 time should be using gettimeofday() and related
47 string TimeUpdates [readwrite]
49 Possible values are "manual" and "auto" to indicate
52 With the "auto" setting the system tries to use as
53 many sources as possible to determine the correct
56 string Timezone [readonly or readwrite]
58 Current system timezone string. Allowed values
59 are from the standard timezone data (tzdata)
60 package under /usr/share/zoneinfo. For example
61 strings like "America/Vancouver" or "Europe/Berlin".
63 This value is present for changing the timezone
64 if TimezoneUpdates is set to manual.
66 When the timezone gets changed a PropertyChanged
67 signal will be send out.
69 string TimezoneUpdates [readwrite]
71 Possible values are "manual" and "auto" to indicate
72 timezone update policy.
74 With the "auto" setting the system tries to use as
75 many sources as possible to determine the correct
78 array{string} Timeservers [readwrite]
80 List of global default NTP servers. The list should
81 be sorted in order of preference.
83 If a service configuration provides NTP servers,
84 then they are preferred over the global ones.
86 This list of servers is used when TimeUpdates is set