# DataSourceClock

#### new Cesium.DataSourceClock()
DataSources/DataSourceClock.js 28

  Represents CZML document-level clock settings.

### Members

#### clockRange : ClockRange
DataSources/DataSourceClock.js 78

  Gets or sets how the clock should behave when `startTime` or `stopTime` is reached.

#### clockStep : ClockStep
DataSources/DataSourceClock.js 85

  Gets or sets if clock advancement is frame dependent or system clock dependent.

#### currentTime : JulianDate
DataSources/DataSourceClock.js 71

  Gets or sets the initial time to use when switching to this clock.

#### readonlydefinitionChanged : Event
DataSources/DataSourceClock.js 46

  Gets the event that is raised whenever a new property is assigned.

#### multiplier : Number
DataSources/DataSourceClock.js 95

  Gets or sets how much time advances with each tick, negative values allow for advancing backwards. If `clockStep` is set to ClockStep.TICK_DEPENDENT this is the number of seconds to advance. If `clockStep` is set to ClockStep.SYSTEM_CLOCK_MULTIPLIER this value is multiplied by the elapsed system time since the last call to tick.

#### startTime : JulianDate
DataSources/DataSourceClock.js 57

  Gets or sets the start time of the clock to use when looping or clamped.

#### stopTime : JulianDate
DataSources/DataSourceClock.js 64

  Gets or sets the stop time of the clock to use when looping or clamped.

### Methods

#### clone(result) → DataSourceClock
DataSources/DataSourceClock.js 104

  Duplicates a DataSourceClock instance.

  Name | Type | Description
  --- | --- | ---
  `result` | DataSourceClock | optional The object onto which to store the result.

  ##### Returns:

  The modified result parameter or a new instance if one was not provided.

#### equals(other) → Boolean
DataSources/DataSourceClock.js 123

  Returns true if this DataSourceClock is equivalent to the other

  Name | Type | Description
  --- | --- | ---
  `other` | DataSourceClock | The other DataSourceClock to compare to.

  ##### Returns:

  `true` if the DataSourceClocks are equal; otherwise, `false`.

#### getValue() → Clock
DataSources/DataSourceClock.js 160

  Gets the value of this clock instance as a `Clock` object.

  ##### Returns:

  The modified result parameter or a new instance if one was not provided.

#### merge(source)
DataSources/DataSourceClock.js 140

  Assigns each unassigned property on this object to the value of the same property on the provided source object.

  Name | Type | Description
  --- | --- | ---
  `source` | DataSourceClock | The object to be merged into this object.