Structure
MySQLTime
MYSQL_TIMEstruct MySQLTime
Overview
This structure is used to send and receive DATE, TIME, DATETIME, and TIMESTAMP data directly to and from the server. Set the buffer member to point to a MYSQL_TIME structure, and set the buffer_type member of a MYSQL_BIND structure to one of the temporal types (MYSQL_TYPE_TIME, MYSQL_TYPE_DATE, MYSQL_TYPE_DATETIME, MYSQL_TYPE_TIMESTAMP).
https://dev.mysql.com/doc/refman/5.7/en/c-api-prepared-statement-data-structures.html
Topics
Initializers
init?(String)init(date: Date)Creates a newMySQLTimefrom a SwiftDateusing current calendar and GMT timezone.init?(mysqlData: MySQLData)Seeinit(mysqlData:).init(year: UInt16?, month: UInt16?, day: UInt16?, hour: UInt16?, minute: UInt16?, second: UInt16?, microsecond: UInt32?)Creates a newMySQLTime.
Instance Properties
var date: Date?Converts thisMySQLTimeto a SwiftDateusing the current calendar and GMT timezone.var day: UInt16?The day of the monthvar hour: UInt16?The hour of the dayvar microsecond: UInt32?The fractional part of the second in microsecondsvar minute: UInt16?The minute of the hourvar month: UInt16?The month of the yearvar mysqlData: MySQLData?SeemysqlData.var second: UInt16?The second of the minutevar year: UInt16?The year
Relationships
Conforms To
MySQLDataConvertibleSwift.Equatable