...

Text file src/go/internal/gccgoimporter/testdata/time.gox

Documentation: go/internal/gccgoimporter/testdata

     1v2;
     2package time;
     3pkgpath time;
     4import errors errors "errors";
     5import sync sync "sync";
     6import syscall syscall "syscall";
     7init time time..import runtime runtime..import sync sync..import syscall syscall..import;
     8init_graph 0 1 0 2 0 3 2 1 3 1 3 2;
     9const ANSIC = "Mon Jan _2 15:04:05 2006";
    10func After (d <type 1 "Duration" <type -4>
    11 func (d <type 1>) String () <type -16>;
    12 func (d <type 1>) Nanoseconds () <type -4>;
    13 func (d <type 1>) Seconds () <type -10>;
    14 func (d <type 1>) Minutes () <type -10>;
    15 func (d <type 1>) Hours () <type -10>;
    16>) <type 2 chan <- <type 3 "Time" <type 4 struct { .time.sec <type -4>; .time.nsec <type -3>; .time.loc <type 5 *<type 6 "Location" <type 7 struct { .time.name <type -16>; .time.zone <type 8 [] <type 9 ".time.zone" <type 10 struct { .time.name <type -16>; .time.offset <type -11>; .time.isDST <type -15>; }>>>; .time.tx <type 11 [] <type 12 ".time.zoneTrans" <type 13 struct { .time.when <type -4>; .time.index <type -5>; .time.isstd <type -15>; .time.isutc <type -15>; }>>>; .time.cacheStart <type -4>; .time.cacheEnd <type -4>; .time.cacheZone <type 14 *<type 9>>; }>
    17 func (l <type 15 *<type 6>>) .time.get () <type 15>;
    18 func (l <type 15>) String () <type -16>;
    19 func (l <type 15>) .time.lookup (sec <type -4>) (name <type -16>, offset <type -11>, isDST <type -15>, start <type -4>, end <type -4>);
    20 func (l <type 15>) .time.lookupFirstZone () <type -11>;
    21 func (l <type 15>) .time.firstZoneUsed () <type -15>;
    22 func (l <type 15>) .time.lookupName (name <type -16>, unix <type -4>) (offset <type -11>, isDST <type -15>, ok <type -15>);
    23>>; }>
    24 func (t <type 3>) String () <type -16>;
    25 func (t <type 3>) Format (layout <type -16>) <type -16>;
    26 func (t <type 3>) AppendFormat (b <type 16 [] <type -20>>, layout <type -16>) <type 17 [] <type -20>>;
    27 func (t <type 3>) After (u <type 3>) <type -15>;
    28 func (t <type 3>) Before (u <type 3>) <type -15>;
    29 func (t <type 3>) Equal (u <type 3>) <type -15>;
    30 func (t <type 3>) IsZero () <type -15>;
    31 func (t <type 3>) .time.abs () <type -8>;
    32 func (t <type 3>) .time.locabs () (name <type -16>, offset <type -11>, abs <type -8>);
    33 func (t <type 3>) Date () (year <type -11>, month <type 18 "Month" <type -11>
    34 func (m <type 18>) String () <type -16>;
    35>, day <type -11>);
    36 func (t <type 3>) Year () <type -11>;
    37 func (t <type 3>) Month () <type 18>;
    38 func (t <type 3>) Day () <type -11>;
    39 func (t <type 3>) Weekday () <type 19 "Weekday" <type -11>
    40 func (d <type 19>) String () <type -16>;
    41>;
    42 func (t <type 3>) ISOWeek () (year <type -11>, week <type -11>);
    43 func (t <type 3>) Clock () (hour <type -11>, min <type -11>, sec <type -11>);
    44 func (t <type 3>) Hour () <type -11>;
    45 func (t <type 3>) Minute () <type -11>;
    46 func (t <type 3>) Second () <type -11>;
    47 func (t <type 3>) Nanosecond () <type -11>;
    48 func (t <type 3>) YearDay () <type -11>;
    49 func (t <type 3>) Add (d <type 1>) <type 3>;
    50 func (t <type 3>) Sub (u <type 3>) <type 1>;
    51 func (t <type 3>) AddDate (years <type -11>, months <type -11>, days <type -11>) <type 3>;
    52 func (t <type 3>) .time.date (full <type -15>) (year <type -11>, month <type 18>, day <type -11>, yday <type -11>);
    53 func (t <type 3>) UTC () <type 3>;
    54 func (t <type 3>) Local () <type 3>;
    55 func (t <type 3>) In (loc <type 20 *<type 6>>) <type 3>;
    56 func (t <type 3>) Location () <type 21 *<type 6>>;
    57 func (t <type 3>) Zone () (name <type -16>, offset <type -11>);
    58 func (t <type 3>) Unix () <type -4>;
    59 func (t <type 3>) UnixNano () <type -4>;
    60 func (t <type 3>) MarshalBinary () (? <type 22 [] <type -20>>, ? <type -19>);
    61 func (t <type 23 *<type 3>>) UnmarshalBinary (data <type 24 [] <type -20>>) <type -19>;
    62 func (t <type 3>) GobEncode () (? <type 25 [] <type -20>>, ? <type -19>);
    63 func (t <type 23>) GobDecode (data <type 26 [] <type -20>>) <type -19>;
    64 func (t <type 3>) MarshalJSON () (? <type 27 [] <type -20>>, ? <type -19>);
    65 func (t <type 23>) UnmarshalJSON (data <type 28 [] <type -20>>) <type -19>;
    66 func (t <type 3>) MarshalText () (? <type 29 [] <type -20>>, ? <type -19>);
    67 func (t <type 23>) UnmarshalText (data <type 30 [] <type -20>>) <type -19>;
    68 func (t <type 3>) Truncate (d <type 1>) <type 3>;
    69 func (t <type 3>) Round (d <type 1>) <type 3>;
    70>>;
    71func AfterFunc (d <type 1>, f <type 31 ()>) <type 32 *<type 33 "Timer" <type 34 struct { C <type 35 chan <- <type 3>>; .time.r <type 36 ".time.runtimeTimer" <type 37 struct { .time.i <type -11>; .time.when <type -4>; .time.period <type -4>; .time.f <type 38 (? <type 39 interface { }>, ? <type -13>)>; .time.arg <type 40 interface { }>; .time.seq <type -13>; }>>; }>
    72 func (t <type 41 *<type 33>>) Stop () <type -15>;
    73 func (t <type 41>) Reset (d <type 1>) <type -15>;
    74>>;
    75const April <type 18> = 4 ;
    76const August <type 18> = 8 ;
    77func Date (year <type -11>, month <type 18>, day <type -11>, hour <type -11>, min <type -11>, sec <type -11>, nsec <type -11>, loc <type 42 *<type 6>>) <type 3>;
    78const December <type 18> = 12 ;
    79type <type 1>;
    80const February <type 18> = 2 ;
    81func FixedZone (name <type -16>, offset <type -11>) <type 15>;
    82const Friday <type 19> = 5 ;
    83const Hour <type 1> = 3600000000000 ;
    84const January <type 18> = 1 ;
    85const July <type 18> = 7 ;
    86const June <type 18> = 6 ;
    87const Kitchen = "3:04PM";
    88func LoadLocation (name <type -16>) (? <type 15>, ? <type -19>);
    89var Local <type 15>;
    90type <type 6>;
    91var LocationSource <type 43 (name <type -16>) (? <type 44 [] <type -20>>, ? <type -19>)>;
    92const March <type 18> = 3 ;
    93const May <type 18> = 5 ;
    94const Microsecond <type 1> = 1000 ;
    95const Millisecond <type 1> = 1000000 ;
    96const Minute <type 1> = 60000000000 ;
    97const Monday <type 19> = 1 ;
    98type <type 18>;
    99const Nanosecond <type 1> = 1 ;
   100func NewTicker (d <type 1>) <type 45 *<type 46 "Ticker" <type 47 struct { C <type 48 chan <- <type 3>>; .time.r <type 36>; }>
   101 func (t <type 49 *<type 46>>) Stop ();
   102>>;
   103func NewTimer (d <type 1>) <type 32>;
   104const November <type 18> = 11 ;
   105func Now () <type 3>;
   106const October <type 18> = 10 ;
   107func Parse (layout <type -16>, value <type -16>) (? <type 3>, ? <type -19>);
   108func ParseDuration (s <type -16>) (? <type 1>, ? <type -19>);
   109type <type 50 "ParseError" <type 51 struct { Layout <type -16>; Value <type -16>; LayoutElem <type -16>; ValueElem <type -16>; Message <type -16>; }>
   110 func (e <type 52 *<type 50>>) Error () <type -16>;
   111>;
   112func ParseInLocation (layout <type -16>, value <type -16>, loc <type 53 *<type 6>>) (? <type 3>, ? <type -19>);
   113const RFC1123 = "Mon, 02 Jan 2006 15:04:05 MST";
   114const RFC1123Z = "Mon, 02 Jan 2006 15:04:05 -0700";
   115const RFC3339 = "2006-01-02T15:04:05Z07:00";
   116const RFC3339Nano = "2006-01-02T15:04:05.999999999Z07:00";
   117const RFC822 = "02 Jan 06 15:04 MST";
   118const RFC822Z = "02 Jan 06 15:04 -0700";
   119const RFC850 = "Monday, 02-Jan-06 15:04:05 MST";
   120const RubyDate = "Mon Jan 02 15:04:05 -0700 2006";
   121const Saturday <type 19> = 6 ;
   122const Second <type 1> = 1000000000 ;
   123const September <type 18> = 9 ;
   124func Since (t <type 3>) <type 1>;
   125func Sleep (d <type 1>);
   126const Stamp = "Jan _2 15:04:05";
   127const StampMicro = "Jan _2 15:04:05.000000";
   128const StampMilli = "Jan _2 15:04:05.000";
   129const StampNano = "Jan _2 15:04:05.000000000";
   130const Sunday <type 19> = 0 ;
   131const Thursday <type 19> = 4 ;
   132func Tick (d <type 1>) <type 54 chan <- <type 3>>;
   133type <type 46>;
   134type <type 3>;
   135type <type 33>;
   136const Tuesday <type 19> = 2 ;
   137var UTC <type 15>;
   138func Unix (sec <type -4>, nsec <type -4>) <type 3>;
   139const UnixDate = "Mon Jan _2 15:04:05 MST 2006";
   140const Wednesday <type 19> = 3 ;
   141type <type 19>;
   142checksum C04E7F45B20C621A25DC74E9B13EA4FF6732E226;

View as plain text