Creates a DateTime instance from a Hash with keys :year, :month, :day, :hour, :min, :sec
@param [Hash, to_mash] value
value to be typecast
@return [DateTime]
DateTime constructed from hash
@api private
Typecasts an arbitrary value to a DateTime. Handles both Hashes and DateTime instances.
@param [Hash, to_mash, to_s] value
DateTime constructed from value
[Validate]