I would like to format a String that contains patterns for more than one date/time. For example:
'Starting on' EEEE 'at' h:mm a 'and ending on' MMM d
Here I am trying to use two dates in the same format string, a start date and an end date. I don't want to split it into two strings because the ordering and structure of the sentence might be different in other languages and I don't want to put any assumptions into my code. As far as I can tell this can't be done with SimpleDateFormat as the format() methods only take one date object.