MySQL 9.7.0
Source Code Documentation
Interval Struct Reference

Struct representing a duration. More...

#include <my_time.h>

Public Attributes

unsigned long int year {0}
 
unsigned long int month {0}
 
unsigned long int day {0}
 
unsigned long int hour {0}
 
unsigned long long int minute {0}
 
unsigned long long int second {0}
 
unsigned long long int second_part {0}
 
bool neg {false}
 

Detailed Description

Struct representing a duration.

Content is similar to MYSQL_TIME but member variables are unsigned.

Member Data Documentation

◆ day

unsigned long int Interval::day {0}

◆ hour

unsigned long int Interval::hour {0}

◆ minute

unsigned long long int Interval::minute {0}

◆ month

unsigned long int Interval::month {0}

◆ neg

bool Interval::neg {false}

◆ second

unsigned long long int Interval::second {0}

◆ second_part

unsigned long long int Interval::second_part {0}

◆ year

unsigned long int Interval::year {0}

The documentation for this struct was generated from the following file: