make getDSTOffset follow the conventions of the internal functions