Top Graphic
Ikayzo.org LogoHomeMissionCriteriaPeopleNews
EnglishJapanese

What's New
SDL
08.11.05 SDL is voted in by the review board.

Ikayzo.org Launch
06.24.05 Ikayzo.org, a global professional open source community is launched!

Beanshell
06.10.05 Beanshell joins BeanShell on the Ikayzo.org project list.
OSS Sites
Other great open source sites
  SourceForge
  CodeHaus
Discussion: Time span literal

Time span literal

Daniel Leuck
Sat Nov 18 09:36:09 HST 2006


Hi Jesse,

 

The reason it's setup that way is that xx:xx is extremely ambiguous.  It
could be minutes and seconds, hours and minutes, a time, etc.  When prefixed
with a date, its clear that you are dealing with hours and minutes rather
than minutes and seconds.  One of SDL's design goals is that the literals be
clear and unambiguous, even if you don't know the language spec.

 

Dan

 

  _____  

From: Jesse Weaver [mailto:pianohacker at gmail.com] 
Sent: Saturday, November 18, 2006 9:18 AM
To: SDL_Developers
Subject: Time span literal

 

Could we change the time span literal so that it doesn't require seconds, to
be consistent with the date/time literal? Or is there a good reason for the
difference?

-- 
Jesse

-----------
There is a theory which states that if anybody ever discovers exactly what
the Universe is for and why it is here, it will instantly disappear and be
replaced by something even more bizarre and inexplicable. There is another
theory which states that this has already happened. - Douglas Adams, author
of Hitchhiker's Guide to the Galaxy 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.ikayzo.org/pipermail/sdl-developers/attachments/20061118/4df57567/attachment.htm>


Query: [How to search]

Display: Description: Sort: