Skip to content
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

Add support for JodaTime DateTimes #25

Closed
wants to merge 1 commit into from
Closed

Add support for JodaTime DateTimes #25

wants to merge 1 commit into from

Conversation

mhalverson
Copy link
Contributor

Added support for JodaTime DateTime objects (assumes they're being serialized as longs).

The only change from the front-end is the addition of a new ColumnType called "JodaDateTime". You can both read and edit cells of this ColumnType, just like a "normal" DateTime.

Implementation is in the same manner as the implementation for normal DateTimes.

@icher-g
Copy link

icher-g commented Mar 5, 2013

Hi,

I simplified and a little bit generalized your solution. In other words I changed the DateTime type to be a DateAsString type meaning that the date time is represented as a string and added another one called DateAsLong to support any date time represented as long. I didn’t want to be dependent on joda so I used regular Date class.

Best Regards,
Igor Cher.

@ghost ghost assigned icher-g Mar 7, 2013
@icher-g icher-g closed this Mar 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants