TimezoneInfo#

class numpy::TimezoneInfo#

numpy C++ class.

Example#

#include <numpy/np_ndarray.h>
using namespace numpy;

// Use TimezoneInfo
TimezoneInfo obj;
// ... operations ...

Constructors#

Signature

Location

Example

TimezoneInfo(const std::string &n, boolutc, boolfixed, int32_toffset)

NP_TIMEZONE.H:57

Indexing / Selection#

Signature

Return Type

Location

Example

std::string getAbbreviationAt(int64_tutc_nanos)

std::string

NP_TIMEZONE.H:108

int32_t getDstOffsetAt(int64_tutc_nanos)

int32_t

NP_TIMEZONE.H:87

int32_t getOffsetAt(int64_tutc_nanos)

int32_t

NP_TIMEZONE.H:61

Other Methods#

Signature

Return Type

Location

Example

std::string formatOffset(int32_toffset_seconds)

std::string

NP_TIMEZONE.H:147

bool isDst(int64_tutc_nanos)

bool

NP_TIMEZONE.H:142