Added TimeSeries.resample() (finally!) and DataObject.trim_to().