Work out your annual leave under Singapore’s Employment Act: the entitlement for your year of service and the pro-rated days for an incomplete year, with MOM’s rounding rule.
For a resignation, use your last day including the notice period.
A month with unpaid leave is not a completed month of service (MOM examples).