methods-as function

Convert objects to/from class 'timeSeries'