quinnj / Dates.jl

[DEPRECATED] Date/DateTime Implementation for the Julia Language; Successor to Datetime.jl
Other
8 stars 9 forks source link

Compatibility with Datetime #7

Closed aviks closed 10 years ago

aviks commented 10 years ago

So I'm asking this without doing any investigating, but I thought you'd have know the answer offhand.

How close is this API from Datetime.jl? Is there going to be a migration effort needed?

quinnj commented 10 years ago

Hmmm.....off the top of my head:

Those are the main changes, so I guess it really depends on how low-level a user was interacting with things, but I it could also be as easy as changing all the date(2013) to Date(2013), as was pretty much the case for my test run in migrating TimeSeries to the new Dates package https://github.com/JuliaStats/TimeSeries.jl/pull/125

Do let me know if you have any other specific questions or packages you're concerned about. I'm happy to do PRs for anyone who wants things migrated.

aviks commented 10 years ago

Thanks. I just wanted a sense of where the major changes were.