func (t MysqlTime) Month() int {
	return int(t.month)
}
Month returns the month value.
package types
import (
	gotime "time"
	"github.com/pingcap/errors"
)
type MysqlTime struct {
	year  uint16  
	month uint8   
	day   uint8   
	hour        int    
	minute      uint8  
	second      uint8  
	microsecond uint32
}
func (t MysqlTime) Year() int {
	return int(t.year)
}