Retrieving getLastWriteTime & getFirstWriteTime using JAVA API

I’m writing a code to retrive queuedepth, getLastWriteTime & getFirstWriteTime using JAVA API. I’ve done this for queue but unable to get this work for Durable Subscribers using nDurableNode. Any help on this?