code: def test_valid(self) -> None:
      prop = bcpd.Datetime()
      assert prop.is_valid(-1.0)
      assert prop.is_valid(-1)
      assert prop.is_valid(0)
      assert prop.is_valid(1)
      assert prop.is_valid(0.0)
      assert prop.is_valid(1.0)
      assert prop.is_valid("2020-01-11T13:00:00")
      assert prop.is_valid("2020-01-11")
      assert prop.is_valid(datetime.datetime.now())
      assert prop.is_valid(datetime.time(10, 12))
      assert prop.is_valid(np.datetime64("2020-01-11"))
      assert prop.is_valid(pd.Timestamp("2010-01-11"))
  
imports: from __future__ import annotations
  import pytest
  import datetime
  import numpy
  import pandas
  from bokeh.util.serialization import convert_date_to_datetime
  from tests.support.util.api import verify_all
  from _util_property import _TestHasProps, _TestModel
  import bokeh.core.property.datetime
label_desc: Use image node_id 1 for calling the Test_Datetime obj's underlying member method code with example usage: obj.test_valid() without return types