-
Notifications
You must be signed in to change notification settings - Fork 15
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
Timestamp or Date value Editors are not working, if xls data is of Date/time type #47
Comments
Hi Ravi, Cheers! |
For Long,Integers etc.. generic PropertyEditors exist and they take String values as input, Hence I think they are not sufficient as test data may come in any other format. Lets say in case of Excel the cell type can be modified by user, if user changes type other than String then those property editiors will fail. |
Right. Got your point. And I think you have an excellent point here. Let's create a util class that can handle Excel data as you mentioned above. Cheers! |
Hi Anuj, Its good to know about 31-Oct presentation. Cheers, |
Hi Ravi, |
Hi Anuj,
When I was trying to test I find issue with handling java.sql.Timestamp params. I think issue is same with Date or Time values. I have tried to create Timestamp Editor, but Editor setAsText takes String parameters, where as in XLS user might enter any type of data in cell, in this example I have entered Date type in cell. But it is throwing conversion problems like java.util.Date can not be converted to String.
I think we should have some generic way of handling such things. Below is my plan, please let me know if you see any issues with it.
Advantages:
Please let me know how it sounds.
Cheers,
Ravi
The text was updated successfully, but these errors were encountered: