CodeQL library for C/C++
Search

Module DateTime

Provides a library for helping working with a set of known data structures representing dates in C++.

Import path

import semmle.code.cpp.commons.DateTime

Imports

cpp

Provides classes and predicates for working with C/C++ code.

Classes

DayFieldAccess

A FieldAccess where access is to a day of the month field of the struct.

MonthFieldAccess

A FieldAccess where access is to a month field of the struct.

PackedTimeType

A type that is used to represent time in a ‘packed’ form, such as an integer.

StructSystemTimeYearFieldAccess

A YearFieldAccess for the SYSTEMTIME struct.

StructTmDayFieldAccess

A DayFieldAccess for struct tm.

StructTmMonthFieldAccess

A MonthFieldAccess for struct tm.

StructTmYearFieldAccess

A YearFieldAccess for struct tm.

SystemTimeDayFieldAccess

A DayFieldAccess for the SYSTEMTIME struct.

SystemTimeMonthFieldAccess

A MonthFieldAccess for the SYSTEMTIME struct.

UnpackedTimeType

A type that is used to represent times and dates in an ‘unpacked’ form, that is, with separate fields for day, month, year etc.

YearFieldAccess

A FieldAccess where access is to a year field of the struct.