# DataSourceClock

#### new Cesium.DataSourceClock()
engine/Source/DataSources/DataSourceClock.js 16

Represents desired clock settings for a particular `DataSource`. These settings may be applied to the `Clock` when the DataSource is loaded.

### Members

#### clockRange : ClockRange
engine/Source/DataSources/DataSourceClock.js 70

Gets or sets the desired clock range setting. See `Clock#clockRange`.

#### clockStep : ClockStep
engine/Source/DataSources/DataSourceClock.js 78

Gets or sets the desired clock step setting. See `Clock#clockStep`.

#### currentTime : JulianDate
engine/Source/DataSources/DataSourceClock.js 62

Gets or sets the desired current time when this data source is loaded. See `Clock#currentTime`.

#### readonly definitionChanged : Event
engine/Source/DataSources/DataSourceClock.js 34

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

#### multiplier : number
engine/Source/DataSources/DataSourceClock.js 86

Gets or sets the desired clock multiplier. See `Clock#multiplier`.

#### startTime : JulianDate
engine/Source/DataSources/DataSourceClock.js 46

Gets or sets the desired start time of the clock. See `Clock#startTime`.

#### stopTime : JulianDate
engine/Source/DataSources/DataSourceClock.js 54

Gets or sets the desired stop time of the clock. See `Clock#stopTime`.

### Methods

#### clone(result) → DataSourceClock
engine/Source/DataSources/DataSourceClock.js 95

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
engine/Source/DataSources/DataSourceClock.js 114

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
engine/Source/DataSources/DataSourceClock.js 153

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)
engine/Source/DataSources/DataSourceClock.js 133

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.

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.