Changed interface to be more like moment.js