Factor out date period
Add time period
Parser main method