|
From: Nicolas Di <nic...@fr...> - 2004-08-31 19:06:36
|
Le lun 30/08/2004 =E0 18:51, Ferdinando Ametrano a =E9crit : > Hi Luigi >=20 > >I'd create some kind of singleton Settings class through which > >the global evaluation date can be set and retrieved, as in > > > >Settings::instance().evaluationDate() =3D Date(30,August,2004); > >Date d =3D Settings::instance().evaluationDate() > > > >The stored date would be used whenever one needs to know what day it's > >supposed to be, and the actual today's date would be returned if none > >was set. > I agree I am also agree. --=20 Nicolas Di C=E9sar=E9 <nic...@fr...> |