Class: EDTF::Unknown

Inherits:
Date::Infinity
  • Object
show all
Defined in:
lib/edtf/unknown.rb

Instance Method Summary collapse

Instance Method Details

#approximate?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/edtf/unknown.rb', line 17

def approximate?
  true
end

#certain?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/edtf/unknown.rb', line 13

def certain?
  false
end

#edtfObject Also known as: to_s



3
4
5
# File 'lib/edtf/unknown.rb', line 3

def edtf
  'uuuu'
end

#precise?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/edtf/unknown.rb', line 21

def precise?
  false
end

#uncertain?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/edtf/unknown.rb', line 9

def uncertain?
  true
end