Discussion: Time span literal
Time span literal
Jesse WeaverSat Nov 18 09:43:09 HST 2006
- Previous message: Time span literal
- Next message: Time span literal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ top page ]
On 11/18/06, Daniel Leuck <dan at ikayzo.com> wrote: > > 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 > > Ah, gotcha. Thanks for your quick reply. One other thing, though; are date/time literals allowed to be broken up between lines? -- 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/ad53db43/attachment.htm>
- Previous message: Time span literal
- Next message: Time span literal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ top page ]










