Class: Time

Inherits:
Object show all
Defined in:
lib/solargraph/rails/annotations/time.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.at(seconds, microseconds = 0, utc = false) ⇒ Time

Parameters:

  • seconds (Integer, Float)
  • microseconds (Integer) (defaults to: 0)
  • utc (Boolean) (defaults to: false)

Returns:



23
# File 'lib/solargraph/rails/annotations/time.rb', line 23

def self.at(seconds, microseconds = 0, utc = false); end

Instance Method Details

#+(other) ⇒ Time

Returns:



17
# File 'lib/solargraph/rails/annotations/time.rb', line 17

def +(other); end

#<=>(other) ⇒ -1, ...

Returns:

  • (-1, 0, 1, nil)


14
# File 'lib/solargraph/rails/annotations/time.rb', line 14

def <=>(other); end

#compare_with_coercion(other) ⇒ -1, ...

Returns:

  • (-1, 0, 1, nil)


8
# File 'lib/solargraph/rails/annotations/time.rb', line 8

def compare_with_coercion(other); end

#compare_without_coercion(other) ⇒ -1, ...

Returns:

  • (-1, 0, 1, nil)


11
# File 'lib/solargraph/rails/annotations/time.rb', line 11

def compare_without_coercion(other); end

#eql_with_coercion(other) ⇒ Boolean

Returns:

  • (Boolean)


5
# File 'lib/solargraph/rails/annotations/time.rb', line 5

def eql_with_coercion(other); end

#to_formatted_s(format = :some_default) ⇒ String

Parameters:

  • format (Symbol) (defaults to: :some_default)

Returns:

  • (String)


30
# File 'lib/solargraph/rails/annotations/time.rb', line 30

def to_formatted_s(format = :some_default); end

#to_timeTime

Returns:



26
# File 'lib/solargraph/rails/annotations/time.rb', line 26

def to_time; end