To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.
Timestamp format
Dear Sir,
I am writing a program to read MXML file with java. I have a problem when I am trying to get timestamp. How can I parse the timestamp string in to Date object. As a java beginner, I am confusing about its format. Could any one show me a sample code in changing timestamp in string format to Date in order to be able to compute over it later.
Thanks
Wirat
I am writing a program to read MXML file with java. I have a problem when I am trying to get timestamp. How can I parse the timestamp string in to Date object. As a java beginner, I am confusing about its format. Could any one show me a sample code in changing timestamp in string format to Date in order to be able to compute over it later.
Thanks
Wirat
Comments
-
Dear Wirat,
Taking it one step back, why are you parsing the MXML file using Java code yourself?
There are other options:
- Implement your code in the ProM 6 framework where you can use OpenXES and a lot of plug-ins, see https://svn.win.tue.nl/trac/prom
- Use OpenXES to read and write MXML and XES files, see http://www.openxes.org
- MXMLib to read and write MXML files, see http://www.processmining.org/tools/mxmlib
I hope this not only answers your question but also helps you to develop your code quicker by using existing libraries and frameworks.
Joos Buijs
Senior Data Scientist and process mining expert at APG (Dutch pension fund executor).
Previously Assistant Professor in Process Mining at Eindhoven University of Technology
Howdy, Stranger!
Categories
- 1.6K All Categories
- 45 Announcements / News
- 225 Process Mining
- 6 - BPI Challenge 2020
- 9 - BPI Challenge 2019
- 24 - BPI Challenge 2018
- 27 - BPI Challenge 2017
- 8 - BPI Challenge 2016
- 68 Research
- 1K ProM 6
- 393 - Usage
- 287 - Development
- 9 RapidProM
- 1 - Usage
- 7 - Development
- 54 ProM5
- 19 - Usage
- 187 Event Logs
- 32 - ProMimport
- 75 - XESame