# valid_through Calculation ```plantuml start if (job expired(expire_at == null or expire_at < now)) then (yes) if (expire_at not null and valid date) then (yes) if (expire_at is a valid date and expire_at < now) then (yes) :valid_through_for_google = expire_at; endif else (no) if (publish_start_date not null and publish_start_date is a valid date) then (yes) if (publish_start_date is a valid date) then (yes) :valid_through_for_google = publish_start_date + 30 days; endif else (no) if (publish_start_date is a valid date) then (yes) :valid_through_for_google = '2018-05-02'; endif endif endif else (no) if (publish_start_date is a valid date) then (yes) :valid_through_for_google = calculated_date_posted (publish_start_date in a 28 days rolling window) + 30 days; endif end ```