11#ifndef PythonMonkey_DateType_
12#define PythonMonkey_DateType_
27 static PyObject *
getPyObject(JSContext *cx, JS::HandleObject dateObj);
35 static JSObject *
toJsDate(JSContext *cx, PyObject *pyObject);
This struct represents the 'datetime' type in Python from the datetime module, which is represented a...
Definition DateType.hh:22
static PyObject * getPyObject(JSContext *cx, JS::HandleObject dateObj)
Convert a JS Date object to Python datetime.
Definition DateType.cc:18
static JSObject * toJsDate(JSContext *cx, PyObject *pyObject)
Convert a Python datetime object to JS Date.
Definition DateType.cc:50