Closed jjergus closed 3 years ago
I'll look more thoroughly through soon, but before I forget:
keep these in HH\Lib but decouple hsl-experimental from WWW first
Raw HH\Lib\
should really be preserved for built-ins only. It is a lot of work and pain to move stuff from external to built-in without changing the namespace, and essentially forces a minimum 3-week delay to the eventual merge process, to accommodate our need to be able to test/run on older versions of HHVM for a while.
Note to self, have a look at dt4 shortly. The API has changed since dt2.
...\_Private\_DateTime
fromParts
__debugInfo()
(but I kept __toString()
as well, it seems more generally useful to me)
This is a small stand-alone initial part of the DateTime library (the
HH\Lib\Time
class, which doesn't depend on anything else, and an associated test).I'd like to get this reviewed before I spend too much time working on the remaining parts. Here I am mainly looking for feedback on:
HH\Lib
namespace in FB WWW, but either of these seems reasonable to me:HH\Lib\Experimental
namespace and commit to WWWHH\Lib
but decouple hsl-experimental from WWW firstHH\Lib\Experimental