Skip to main content

EitherDate

No overview available.

Attributes

AttributeTypeDescription
RawDateStores a native Date object used for direct date manipulation without Python overhead.
PyBound< 'py, PyDate >Stores a reference to a Python PyDate object for interoperability with Python's datetime module.

Constructor

Signature

def EitherDate()

Signature

def Raw(
date: Date
) - > [EitherDate](eitherdate.md?sid=input_datetime_eitherdate)

Parameters

NameTypeDescription
dateDateThe native date object to be wrapped.

Signature

def Py(
py_date: Bound< 'py, PyDate >
) - > [EitherDate](eitherdate.md?sid=input_datetime_eitherdate)

Parameters

NameTypeDescription
py_dateBound< 'py, PyDate >The bound Python date object to be wrapped.