Thus, a month with 30 or 31 days has a complete cycle of all four phases of the moon.
(a month with 30 or 31 days; has; a complete cycle of all four phases of the moon)
a month with 30 or 31 days
has
a complete cycle of all four phases of the moon