Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Issue when trying to add Custom Date Type
Issue when trying to add Custom Date Type [message #1809362] Sun, 14 July 2019 20:24 Go to next message
Nikolay Nikolaev is currently offline Nikolay NikolaevFriend
Messages: 1
Registered: July 2019
Junior Member
Hi Folks

i am building a model, where i need to heed to have LocalDate as a datatype.So following the links in;

https://www.eclipse.org/forums/index.php/t/1093700/

i follow the steps - create custom EDATATYPE , for Instance Type Name i put 'java.time.LocalDate', then i create the EAnnotation with DateoConverstionDelegate and put format //SimpleDateFormat/yyyy-MM-dd
.
So far so good, now when i save that and try to start the .genmodel , it comes up with the error This DateConversionDelegate annotation detail with key 'format' contains a bad value

I am completely lost, any ideas ?
Re: Issue when trying to add Custom Date Type [message #1809476 is a reply to message #1809362] Tue, 16 July 2019 17:45 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Sorry, LocalDate is not a type with built-in support via the conversion delegates.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Teneo: Avoiding unnecessary joins
Next Topic:Failed on loading xcore model programmatically
Goto Forum:
  


Current Time: Tue Apr 23 10:37:52 GMT 2024

Powered by FUDForum. Page generated in 0.02865 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top