Migrate maternity-paternity-calculator v2 calculator class across