Create convenience methods for converting to/from built-in PHP DateTime/DateTimeZone objects. #17

Closed
jmalloc opened this Issue Jan 22, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@jmalloc
Owner

jmalloc commented Jan 22, 2013

No description provided.

@jmalloc

This comment has been minimized.

Show comment Hide comment
@jmalloc

jmalloc Jan 22, 2013

Owner
  • Date::fromNative(\DateTime $dateTime);
  • Time::fromNative(\DateTime $dateTime);
  • DateTime::fromNative(\DateTime $dateTime);
  • TimeZone::fromNative(\DateTimeZone $dateTime);
  • And toNative() equivalents.
Owner

jmalloc commented Jan 22, 2013

  • Date::fromNative(\DateTime $dateTime);
  • Time::fromNative(\DateTime $dateTime);
  • DateTime::fromNative(\DateTime $dateTime);
  • TimeZone::fromNative(\DateTimeZone $dateTime);
  • And toNative() equivalents.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment