Store a list of DeviceHistory instances.
Store a list of DeviceHistory instances.
instances to store
list of stored instances
Creates a series of DeviceHistory and stores them.
Creates a series of DeviceHistory and stores them. All messages are from the same device.
The newest message's timestamp is about 23:59:59.000 and the interval between messages is small enough to fit more than 15.000 messages into one day. As an effect unless you create too many records all of their timestamps will be on the same day.
number of elements to create and store
list of stored messages (ordered by: timestamp ASC)
Create a list of DeviceHistory instances based on the given list of timestamps and store them.
Create a list of DeviceHistory instances based on the given list of timestamps and store them.
deviceId for all instances
create DeviceHistory for each timestamp
list of stored instances
author: cvandrei since: 2016-10-27