mysql-native v3.0.0

API Reference Home: [This Version] [Latest Version] [Other Versions]


Struct TimeDiff

A simple struct to represent time difference.

struct TimeDiff ;

D's std.datetime does not have a type that is closely compatible with the MySQL interpretation of a time difference, so we define a struct here to hold such values.

Fields

NameTypeDescription
days int
hours ubyte
minutes ubyte
negative bool
seconds ubyte