private Metadata getCurrentPageMetadata(PDPage pdPage) {
        Metadata pageMetadata = new Metadata();
        pageMetadata.set(TikaCoreProperties.TYPE, PDFParser.MEDIA_TYPE.toString());
        pageMetadata.set(TikaPagedText.PAGE_NUMBER, getCurrentPageNo());
        pageMetadata.set(TikaPagedText.PAGE_ROTATION, (float) pdPage.getRotation());
        return pageMetadata;
    }
Format used for signature dates
TODO Make this thread-safe
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/src/main/java/org/apache/tika/parser/pdf/AbstractPDF2XHTML.java