* TimeSeries.toDto() method added.