Allow overriding for DateTimePatternGenerator in CustomDateTimeFormatGenerator.

Change-Id: I3b64b9bd324d4ad9934a7a176e01b76b4891fa12