New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
copy() method for UTCDateTime #1452
base: master
Are you sure you want to change the base?
Conversation
Why not just assign EDIT: OK, for a real copy you need to do |
@trichter Yep, but that solution is pretty inelegant... |
At one point we discussed making the So I think we might want to have this method. It still needs a test. |
Sure. Will add a test later today. |
@krischer Immutable? I've got a lot of |
I think currently the only way to really change a If we really add the |
@megies I'm probably missing something: isn't |
Oh, indeed.. 😊 didn't see the |
I think we should still make |
I'm holding on this one, until you decide whether |
Just found myself needing to copy a
UTCDateTime()
object.I thought that it might be useful.