class_docstr: An "ambiguous" datetime object. This object acts like a
  ``datetime.datetime`` object but can have any of its attributes set to
  None, meaning unspecified.
docstr: Returns either a ``datetime`` or unambiguous ``timespan`` version
  of this object.
  
  Unless this ``adatetime`` object is full specified down to the
  microsecond, this method will return a timespan built from the "floor"
  and "ceil" of this object.
  
  This method raises an error if the ``adatetime`` object has no year.
  
  >>> adt = adatetime(year=2009, month=10, day=31)
  >>> adt.disambiguated()
  timespan(datetime(2009, 10, 31, 0, 0, 0, 0), datetime(2009, 10, 31, 23, 59 ,59, 999999)
docstr_tok: ["Returns","either","a","``","datetime","``","or","unambiguous","``","timespan","``","version","of","this","object",".","Unless","this","``","adatetime","``","object","is","full","specified","down","to","the","microsecond",",","this","method","will","return","a","timespan","built","from","the","``","floor","''","and","``","ceil","''","of","this","object",".","This","method","raises","an","error","if","the","``","adatetime","``","object","has","no","year",".",">",">",">","adt","=","adatetime","(","year=2009",",","month=10",",","day=31",")",">",">",">","adt.disambiguated","(",")","timespan","(","datetime","(","2009",",","10",",","31",",","0",",","0",",","0",",","0",")",",","datetime","(","2009",",","10",",","31",",","23",",","59",",59",",","999999",")"]
code: def disambiguated(self, basedate):
      """Returns either a ``datetime`` or unambiguous ``timespan`` version
      of this object.
  
      Unless this ``adatetime`` object is full specified down to the
      microsecond, this method will return a timespan built from the "floor"
      and "ceil" of this object.
  
      This method raises an error if the ``adatetime`` object has no year.
  
      >>> adt = adatetime(year=2009, month=10, day=31)
      >>> adt.disambiguated()
      timespan(datetime(2009, 10, 31, 0, 0, 0, 0), datetime(2009, 10, 31, 23, 59 ,59, 999999)
      """
  
      dt = self
      if not is_ambiguous(dt):
          return fix(dt)
      return timespan(dt, dt).disambiguated(basedate)
  
imports: import calendar
  import copy
  from datetime import date, datetime, timedelta
  from whoosh.compat import iteritems
label_desc: Use image node_id 10 for calling the adatetime obj's underlying member method code with example usage: obj.disambiguated(basedate) and returns: timespan, fix