function testresult = KML_timespan_test()
%KML_timespan_test  test for KML_timespan
%
%See also: googleplot

MTestCategory.Unit;
disp(['... running test:',mfilename])

   dateStrStyle = 'yyyy-mm-ddTHH:MM:SS';
   
   t    = now;
   tstr = datestr(t,dateStrStyle);
   
   str1 = KML_timespan('timeIn',t,'timeOut',t,'dateStrStyle',dateStrStyle);
   str2 = KML_timespan('timeIn',tstr,'timeOut',tstr);
   
testresult = isequal(str1,str2);
