Functionality from dateutil.hpp is moved to libafc.