func (name Timezone) Validate() (err error) {
	_, err = ByNameStrErr(string(name))
	return
}
Validate implementation of ozzo-validation Validate interface
package timezone
import (
	"database/sql/driver"
	"encoding/json"
	"fmt"
)
type Timezone string
func (name *Timezone) UnmarshalJSON(data []byte) error {
	var str string
	if err := json.Unmarshal(data, &str); err != nil {
		return err
	}
	if _, err := ByNameStrErr(str); err != nil {
		return err
	}
	*name = Timezone(str)
	return nil
}
func (name Timezone) Value() (value driver.Value, err error) {
	if name == "" {
		return "", nil
	}
	if _, err = ByNameStrErr(string(name)); err != nil {
		return nil, err
	}
	return name.String(), nil
}