code: func isSameDay(wkd time.Weekday, dow dayofweek.DayOfWeek) bool {
  	switch dow {
  	case dayofweek.DayOfWeek_DAY_OF_WEEK_UNSPECIFIED:
  		return false
  	case dayofweek.DayOfWeek_SUNDAY:
  		// time.Weekday has Sunday == 0, dayofweek.DayOfWeek has Sunday == 7.
  		return wkd == time.Sunday
  	default:
  		// For all other values, time.Weekday == dayofweek.DayOfWeek.
  		return int(wkd) == int(dow)
  	}
  }
docs: // isSameDay returns whether the given time.Weekday and dayofweek.DayOfWeek
  // represent the same day of the week.