More generic time series method. Simple checking for illegal arguments.