Comment #42 on issue 415 by pekka.klarck: Library for date/time conversion and calculation
http://code.google.com/p/robotframework/issues/detail?id=415

There was a comment that keywords related to adding and subtracting are somewhat inconsistently named. Currently we have the following keywords:

Keyword               Calculation    Result
-------------------------------------------
Subtract Dates        date - date    time
Add To Date           date + time    date
Subtract From Date    date - time    date
Add To Time           time + time    time
Subtract From Time    time - time    time

Looking at the above, I agree naming could be improved. How would these sound:

Keyword                    Calculation    Result
------------------------------------------------
Subtract Date From Date    date - date    time
Add Time To Date           date + time    date
Subtract Time From Date    date - time    date
Add Time To Time           time + time    time
Subtract Time From Time    time - time    time

The above names are a bit longer, but they definitely are more consistent and explicit than originals. I think changing them would be a good idea. What about others?

In addition to making the decision about naming, we still need to decided about the fate of Should Be Date/Time keywords. I vote for removal. Other comments?

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to