public Instant getVersionDate ( final Graph graph , final Node subject ) { final String [ ] pathParts = subject . getURI ( ) . split ( "/" ) ; return MEMENTO_LABEL_FORMATTER . parse ( pathParts [ pathParts . length - 1 ] , Instant :: from ) ; }
Gets a modification date of a subject from the graph