--> Read primitive types and generic way to read date types.