make date convertion methods as public