Update timeconstants.py

added License and docstring