adding startOf, endOf methods --ankit