Fixing bug with toObject methods on DATE, TIME and TIMESTAMP PData types. Adding test case for the same
Merge pull request #132 from prashantkommireddi/issue130

Fixing bug with toObject methods on DATE, TIME and TIMESTAMP PData types...