Timestamp

From FreeMind
Revision as of 09:15, 11 September 2009 by Dan Polansky (talk | contribs) (+)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Each node gets two timestamps: one for the moment of creation and one for the moment of the last change.

Menu

  • Tools > Show Modification Times

Implementation

Classes and methods that implement timestamps:

  • accessories.plugins.CreationModificationPlugin
  • MinMapNode.getHistoryInformation()
  • freemind.modes.HistoryInformation

Storage in XML

Storage of timestamps in XML: in the attributes "CREATED" and "MODIFIED":

<node CREATED="1252659099149" ID="ID_989353638" MODIFIED="1252659099149" TEXT="New Mindmap">

The number stored in the timestamp is the number of milliseconds since January 1, 1970, 00:00:00 GMT.

The number stored in the timestamp is obtained by calling "new Date().getTime()"[1].