afc::parseISODateTime() (both versions) do not access memory de-allocated; common functionality is extracted into a function.