|
numpy 2.0.0
|
#include <Python.h>#include <numpy/arrayobject.h>#include "npy_config.h"#include "numpy/npy_3kcompat.h"#include "numpy/arrayscalars.h"#include "lowlevel_strided_loops.h"#include "_datetime.h"#include "datetime_busday.h"#include "datetime_busdaycal.h"Defines | |
| #define | PY_SSIZE_T_CLEAN |
| #define | NPY_NO_DEPRECATED_API |
| #define | _MULTIARRAYMODULE |
Functions | |
| NPY_NO_EXPORT int | PyArray_WeekMaskConverter (PyObject *weekmask_in, npy_bool *weekmask) |
| static int | qsort_datetime_compare (const void *elem1, const void *elem2) |
| NPY_NO_EXPORT void | normalize_holidays_list (npy_holidayslist *holidays, npy_bool *weekmask) |
| NPY_NO_EXPORT int | PyArray_HolidaysConverter (PyObject *dates_in, npy_holidayslist *holidays) |
| static PyObject * | busdaycalendar_new (PyTypeObject *subtype, PyObject *NPY_UNUSED(args), PyObject *NPY_UNUSED(kwds)) |
| static int | busdaycalendar_init (NpyBusDayCalendar *self, PyObject *args, PyObject *kwds) |
| static void | busdaycalendar_dealloc (NpyBusDayCalendar *self) |
| static PyObject * | busdaycalendar_weekmask_get (NpyBusDayCalendar *self) |
| static PyObject * | busdaycalendar_holidays_get (NpyBusDayCalendar *self) |
Variables | |
| static PyGetSetDef | busdaycalendar_getsets [] |
| NPY_NO_EXPORT PyTypeObject | NpyBusDayCalendar_Type |
| #define _MULTIARRAYMODULE |
| #define NPY_NO_DEPRECATED_API |
| #define PY_SSIZE_T_CLEAN |
| static void busdaycalendar_dealloc | ( | NpyBusDayCalendar * | self | ) | [static] |
| static PyObject* busdaycalendar_holidays_get | ( | NpyBusDayCalendar * | self | ) | [static] |
| static int busdaycalendar_init | ( | NpyBusDayCalendar * | self, |
| PyObject * | args, | ||
| PyObject * | kwds | ||
| ) | [static] |
References PyArray_free.
| static PyObject* busdaycalendar_new | ( | PyTypeObject * | subtype, |
| PyObject * | NPY_UNUSEDargs, | ||
| PyObject * | NPY_UNUSEDkwds | ||
| ) | [static] |
| static PyObject* busdaycalendar_weekmask_get | ( | NpyBusDayCalendar * | self | ) | [static] |
| NPY_NO_EXPORT void normalize_holidays_list | ( | npy_holidayslist * | holidays, |
| npy_bool * | weekmask | ||
| ) |
| NPY_NO_EXPORT int PyArray_HolidaysConverter | ( | PyObject * | dates_in, |
| npy_holidayslist * | holidays | ||
| ) |
| NPY_NO_EXPORT int PyArray_WeekMaskConverter | ( | PyObject * | weekmask_in, |
| npy_bool * | weekmask | ||
| ) |
References PyArray_Check, PyArray_NDIM, PyBytes_AsStringAndSize, and PyBytes_Check.
| static int qsort_datetime_compare | ( | const void * | elem1, |
| const void * | elem2 | ||
| ) | [static] |
References npy_holidayslist::begin, npy_holidayslist::end, and NPY_DATETIME_NAT.
PyGetSetDef busdaycalendar_getsets[] [static] |
{
{"weekmask",
(getter)busdaycalendar_weekmask_get,
NULL, NULL, NULL},
{"holidays",
(getter)busdaycalendar_holidays_get,
NULL, NULL, NULL},
{NULL, NULL, NULL, NULL, NULL}
}
| NPY_NO_EXPORT PyTypeObject NpyBusDayCalendar_Type |