|
From: | Maurice Diamantini |
Subject: | Re: [Help-glpk] Time conversion functions |
Date: | Fri, 21 Nov 2008 07:43:48 +0100 |
Le 20 nov. 08 à 19:07, Andrew Makhorin a écrit :
Hi Xypron, I propose to add to MathProg the following built-in time functions: ... Year(t) Returns the year number, for example, 2008.Month(t) Returns the month number, from 1 to 12.... ...
Nice, but why these functions have to start with an upercase? If you xxx a conflict problem with another command ("hour" is frequently used in optimisation problems ;-) You could prefix all these functions with some commun "package" string date_year(t) date_month(t) or time_year(t) time_month(t) -- Maurice
[Prev in Thread] | Current Thread | [Next in Thread] |