- add regular expression to parse date parts - add date part creator function - replace tokens in pattern to parsed parts