Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NowMicro (0.08 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time.go

    func DateMicro(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) MicroTime {
    	return MicroTime{time.Date(year, month, day, hour, min, sec, nsec, loc)}
    }
    
    // NowMicro returns the current local time.
    func NowMicro() MicroTime {
    	return MicroTime{time.Now()}
    }
    
    // IsZero returns true if the value is nil or time is zero.
    func (t *MicroTime) IsZero() bool {
    	if t == nil {
    		return true
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top