DateStruct support library