MySQL 8.0.40
Source Code Documentation
Interval Struct Reference

Struct representing a duration. More...

#include <my_time.h>

Public Attributes

unsigned long int year
 
unsigned long int month
 
unsigned long int day
 
unsigned long int hour
 
unsigned long long int minute
 
unsigned long long int second
 
unsigned long long int second_part
 
bool neg
 

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

◆ hour

unsigned long int Interval::hour

◆ minute

unsigned long long int Interval::minute

◆ month

unsigned long int Interval::month

◆ neg

bool Interval::neg

◆ second

unsigned long long int Interval::second

◆ second_part

unsigned long long int Interval::second_part

◆ year

unsigned long int Interval::year

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