Edit CommandParser

combined getStartDate and getEndDate into getDate