Hey there @Joyce
Not that I know of. However, the logic could be followed from this: Period Calculator | Always®
Date picker for last period start date - Period length number - menstrual cycle number.
Since I don’t have periods I’m not quite sure to calculate from the day the last period started + 28 or if you count 28 days after the last period ended.
But hopefully, this should give you a starting point.