public class DateParameter extends NotLongDataParameterHolder
| Constructor and Description |
|---|
DateParameter(Date date,
Calendar cal,
Options options)
Represents a date, constructed with time in millis since epoch
|
| Modifier and Type | Method and Description |
|---|---|
MySQLType |
getMySQLType() |
void |
writeBinary(PacketOutputStream writeBuffer)
write to server OutputStream in binary protocol
|
void |
writeTo(OutputStream os)
write to server OutputStream in text protocol
|
isLongDatatoString, writeBufferTypepublic void writeTo(OutputStream os) throws IOException
writeTo in class ParameterHolderos - output bufferIOException - when something goes wrongpublic void writeBinary(PacketOutputStream writeBuffer)
writeBinary in class NotLongDataParameterHolderwriteBuffer - output bufferpublic MySQLType getMySQLType()
getMySQLType in class ParameterHolderCopyright © 2015. All rights reserved.