// DateEnd sets the optional parameter "dateEnd":
775796
func (c *AppversionListCall) DateEnd(dateEnd int64) *AppversionListCall {
	c.urlParams_.Set("dateEnd", fmt.Sprint(dateEnd))
	return c
}
267008
func (s *ViewBillingInput) SetEnd(v time.Time) *ViewBillingInput {
	s.End = &v
	return s
}
1168964
func (s *InventoryRetrievalJobDescription) SetEndDate(v string) *InventoryRetrievalJobDescription {
	s.EndDate = &v
	return s
}
1168589
func (s *Step) SetEndTime(v time.Time) *Step {
	s.EndTime = &v
	return s
}
720272
func (dt DateTime) DateTime() (year int, month time.Month, day int, hour int, minute int, second int) {
	year, month, day = dt.t.Date()
	hour, minute, second = dt.Clock()
	return
}
676070
func DateRange(start, end time.Time) time.Time {
	return time.Unix(0, int64(Number(int(start.UnixNano()), int(end.UnixNano())))).UTC()
}
187632
func (s *Usage) SetEndDate(v string) *Usage {
	s.EndDate = &v
	return s
}
494985
func (tr Row) DateErr(nn int) (val Date, err error) {
	switch data := tr[nn].(type) {
	case nil:
		// nop
	case Date:
		val = data
	case []byte:
		val, err = ParseDate(string(data))
	case *[]byte:
		val, err = ParseDate(string(*data))
	}
	return
}
602030
func (s *InstanceFleetTimeline) SetEndDateTime(v time.Time) *InstanceFleetTimeline {
	s.EndDateTime = &v
	return s
}
334584
func DateParse(dateString, format string) (time.Time, error) {
	return time.ParseInLocation(ConvDateFormat(format), dateString, time.Local)
}
747978
func (t Term) Date(args ...interface{}) Term {
	return constructMethodTerm(t, "Date", p.Term_DATE, args, map[string]interface{}{})
}
912104
func DateFor(year int, month time.Month, day int) Date {
	return Date{
		t: time.Date(year, month, day, 0, 0, 0, 0, time.UTC),
	}
}
842292
func (s *Edge) SetEndTime(v time.Time) *Edge {
	s.EndTime = &v
	return s
}
891770
func (c *ClientupdateListCall) DateStart(dateStart int64) *ClientupdateListCall {
	c.urlParams_.Set("dateStart", fmt.Sprint(dateStart))
	return c
}
1196018
func (s *Session) SetEndDate(v time.Time) *Session {
	s.EndDate = &v
	return s
}
423401
func (s *UpdateMaintenanceWindowOutput) SetEndDate(v string) *UpdateMaintenanceWindowOutput {
	s.EndDate = &v
	return s
}
1062965
func (d Date) Date() (year int, month time.Month, day int) {
	return d.t.Date()
}