generator: add support for gregorian dates
generator: add support for posix time ptime
generator: add support for time duration