code: private void provideDocumentCreationTime(JCas jcas,
  			Date documentCreationTime)
  			throws DocumentCreationTimeMissingException {
  		if (documentCreationTime == null) {
  			// Document creation time is missing
  			if (documentType == DocumentType.NEWS) {
  				// But should be provided in case of news-document
  				throw new DocumentCreationTimeMissingException();
  			}
  			if (documentType == DocumentType.COLLOQUIAL) {
  				// But should be provided in case of colloquial-document
  				throw new DocumentCreationTimeMissingException();
  			}
  		} else {
  			// Document creation time provided
  			// Translate it to expected string format
  			SimpleDateFormat dateFormatter = new SimpleDateFormat(
  					"yyyy.MM.dd'T'HH:mm");
  			String formattedDCT = dateFormatter.format(documentCreationTime);
  
  			// Create dct object for jcas
  			Dct dct = new Dct(jcas);
  			dct.setValue(formattedDCT);
  
  			dct.addToIndexes();
  		}
  	}
docs: Provides jcas object with document creation time if
  <code>documentCreationTime</code> is not null.
  
  @param jcas
  @param documentCreationTime
  @throws DocumentCreationTimeMissingException
  If document creation time is missing when processing a
  document of type {@link DocumentType#NEWS}.