class_docstr: These test cases exercise the interface to the proto plan
  generation but do not call Spark.
class_docstr_tok: ["These","test","cases","exercise","the","interface","to","the","proto","plan","generation","but","do","not","call","Spark","."]
docstr: Test the different timestamp, date, and timedelta types.
docstr_tok: ["Test","the","different","timestamp",",","date",",","and","timedelta","types","."]
code: def test_datetime_literal_types(self):
      """Test the different timestamp, date, and timedelta types."""
      datetime_lit = lit(datetime.datetime.now())
  
      p = datetime_lit.to_plan(None)
      self.assertIsNotNone(datetime_lit.to_plan(None))
      self.assertGreater(p.literal.timestamp, 10000000000000)
  
      date_lit = lit(datetime.date.today())
      time_delta = lit(
          datetime.timedelta(days=1, seconds=2, microseconds=3)
      )
  
      self.assertIsNotNone(date_lit.to_plan(None))
      self.assertIsNotNone(time_delta.to_plan(None))
      # (24 * 3600 + 2) * 1000000 + 3
      self.assertEqual(
          86402000003,
          time_delta.to_plan(None).literal.day_time_interval,
      )
  
imports: import unittest
  import uuid
  import datetime
  import decimal
  import math
  from pyspark.testing.connectutils import PlanOnlyTestFixture, should_test_connect, connect_requirement_message
  from pyspark.errors import PySparkValueError
label_desc: Use image node_id 50 for calling the SparkConnectPlanTests obj's underlying member method code with example usage: obj.test_datetime_literal_types() without return types