U:RDoc::AnyMethod[iI"<=>:ETI" Time#<=>;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"4Comparison---Compares +time+ with +other_time+.;To:RDoc::Markup::BlankLineo; ; [I"N-1, 0, +1 or nil depending on whether +time+ is less than, equal to, or ;TI"greater than +other_time+.;T@o; ; [I":+nil+ is returned if the two values are incomparable.;T@o:RDoc::Markup::Verbatim; [I"6t = Time.now #=> 2007-11-19 08:12:12 -0600 ;TI"6t2 = t + 2592000 #=> 2007-12-19 08:12:12 -0600 ;TI"t <=> t2 #=> -1 ;TI"t2 <=> t #=> 1 ;TI" ;TI"6t = Time.now #=> 2007-11-19 08:13:38 -0600 ;TI"6t2 = t + 0.1 #=> 2007-11-19 08:13:38 -0600 ;TI"%t.nsec #=> 98222999 ;TI"&t2.nsec #=> 198222999 ;TI"t <=> t2 #=> -1 ;TI"t2 <=> t #=> 1 ;TI"t <=> t #=> 0;T: @format0: @fileI" time.c;T:0@omit_headings_from_table_of_contents_below0I"-time <=> other_time -> -1, 0, +1 or nil ;T0[I" (p1);T@$FI" Time;TcRDoc::NormalClass00