github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_time.go (about) 1 // Code generated by 'yaegi extract time'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "go/constant" 9 "go/token" 10 "reflect" 11 "time" 12 ) 13 14 func init() { 15 Symbols["time/time"] = map[string]reflect.Value{ 16 // function, constant and variable definitions 17 "ANSIC": reflect.ValueOf(constant.MakeFromLiteral("\"Mon Jan _2 15:04:05 2006\"", token.STRING, 0)), 18 "After": reflect.ValueOf(time.After), 19 "AfterFunc": reflect.ValueOf(time.AfterFunc), 20 "April": reflect.ValueOf(time.April), 21 "August": reflect.ValueOf(time.August), 22 "Date": reflect.ValueOf(time.Date), 23 "December": reflect.ValueOf(time.December), 24 "February": reflect.ValueOf(time.February), 25 "FixedZone": reflect.ValueOf(time.FixedZone), 26 "Friday": reflect.ValueOf(time.Friday), 27 "Hour": reflect.ValueOf(time.Hour), 28 "January": reflect.ValueOf(time.January), 29 "July": reflect.ValueOf(time.July), 30 "June": reflect.ValueOf(time.June), 31 "Kitchen": reflect.ValueOf(constant.MakeFromLiteral("\"3:04PM\"", token.STRING, 0)), 32 "LoadLocation": reflect.ValueOf(time.LoadLocation), 33 "LoadLocationFromTZData": reflect.ValueOf(time.LoadLocationFromTZData), 34 "Local": reflect.ValueOf(&time.Local).Elem(), 35 "March": reflect.ValueOf(time.March), 36 "May": reflect.ValueOf(time.May), 37 "Microsecond": reflect.ValueOf(time.Microsecond), 38 "Millisecond": reflect.ValueOf(time.Millisecond), 39 "Minute": reflect.ValueOf(time.Minute), 40 "Monday": reflect.ValueOf(time.Monday), 41 "Nanosecond": reflect.ValueOf(time.Nanosecond), 42 "NewTicker": reflect.ValueOf(time.NewTicker), 43 "NewTimer": reflect.ValueOf(time.NewTimer), 44 "November": reflect.ValueOf(time.November), 45 "Now": reflect.ValueOf(time.Now), 46 "October": reflect.ValueOf(time.October), 47 "Parse": reflect.ValueOf(time.Parse), 48 "ParseDuration": reflect.ValueOf(time.ParseDuration), 49 "ParseInLocation": reflect.ValueOf(time.ParseInLocation), 50 "RFC1123": reflect.ValueOf(constant.MakeFromLiteral("\"Mon, 02 Jan 2006 15:04:05 MST\"", token.STRING, 0)), 51 "RFC1123Z": reflect.ValueOf(constant.MakeFromLiteral("\"Mon, 02 Jan 2006 15:04:05 -0700\"", token.STRING, 0)), 52 "RFC3339": reflect.ValueOf(constant.MakeFromLiteral("\"2006-01-02T15:04:05Z07:00\"", token.STRING, 0)), 53 "RFC3339Nano": reflect.ValueOf(constant.MakeFromLiteral("\"2006-01-02T15:04:05.999999999Z07:00\"", token.STRING, 0)), 54 "RFC822": reflect.ValueOf(constant.MakeFromLiteral("\"02 Jan 06 15:04 MST\"", token.STRING, 0)), 55 "RFC822Z": reflect.ValueOf(constant.MakeFromLiteral("\"02 Jan 06 15:04 -0700\"", token.STRING, 0)), 56 "RFC850": reflect.ValueOf(constant.MakeFromLiteral("\"Monday, 02-Jan-06 15:04:05 MST\"", token.STRING, 0)), 57 "RubyDate": reflect.ValueOf(constant.MakeFromLiteral("\"Mon Jan 02 15:04:05 -0700 2006\"", token.STRING, 0)), 58 "Saturday": reflect.ValueOf(time.Saturday), 59 "Second": reflect.ValueOf(time.Second), 60 "September": reflect.ValueOf(time.September), 61 "Since": reflect.ValueOf(time.Since), 62 "Sleep": reflect.ValueOf(time.Sleep), 63 "Stamp": reflect.ValueOf(constant.MakeFromLiteral("\"Jan _2 15:04:05\"", token.STRING, 0)), 64 "StampMicro": reflect.ValueOf(constant.MakeFromLiteral("\"Jan _2 15:04:05.000000\"", token.STRING, 0)), 65 "StampMilli": reflect.ValueOf(constant.MakeFromLiteral("\"Jan _2 15:04:05.000\"", token.STRING, 0)), 66 "StampNano": reflect.ValueOf(constant.MakeFromLiteral("\"Jan _2 15:04:05.000000000\"", token.STRING, 0)), 67 "Sunday": reflect.ValueOf(time.Sunday), 68 "Thursday": reflect.ValueOf(time.Thursday), 69 "Tick": reflect.ValueOf(time.Tick), 70 "Tuesday": reflect.ValueOf(time.Tuesday), 71 "UTC": reflect.ValueOf(&time.UTC).Elem(), 72 "Unix": reflect.ValueOf(time.Unix), 73 "UnixDate": reflect.ValueOf(constant.MakeFromLiteral("\"Mon Jan _2 15:04:05 MST 2006\"", token.STRING, 0)), 74 "Until": reflect.ValueOf(time.Until), 75 "Wednesday": reflect.ValueOf(time.Wednesday), 76 77 // type definitions 78 "Duration": reflect.ValueOf((*time.Duration)(nil)), 79 "Location": reflect.ValueOf((*time.Location)(nil)), 80 "Month": reflect.ValueOf((*time.Month)(nil)), 81 "ParseError": reflect.ValueOf((*time.ParseError)(nil)), 82 "Ticker": reflect.ValueOf((*time.Ticker)(nil)), 83 "Time": reflect.ValueOf((*time.Time)(nil)), 84 "Timer": reflect.ValueOf((*time.Timer)(nil)), 85 "Weekday": reflect.ValueOf((*time.Weekday)(nil)), 86 } 87 }