BookmarkFile.getAdded

long getAdded(string uri)

Gets the time the bookmark for uri was added to bookmark

In the event the URI cannot be found, -1 is returned and error is set to G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.

Parameters

uria valid URI

Returns

a timestamp

Throws

[BookmarkFileException]

Deprecated

Use [glib.bookmark_file.BookmarkFile.getAddedDateTime] instead, as

time_t is deprecated due to the year 2038 problem.