Examples of toIso8601()


Examples of com.esri.gpt.server.csw.provider.components.OperationResponse.toIso8601()

        } else {
         
          String sValue = oValue.toString();
          if (oValue instanceof Timestamp) {
            if (meaningType.equals(PropertyMeaningType.DATEMODIFIED)) {
              sValue = opResponse.toIso8601((Timestamp)oValue);
            } else {
              sValue = opResponse.toIso8601Date((Timestamp)oValue);
            }
          }
          if (meaningType.equals(PropertyMeaningType.XMLURL)) {
View Full Code Here

Examples of com.esri.gpt.server.csw.provider.components.OperationResponse.toIso8601()

     
    // the following attributes are not currently populated:
    //   resultSetId expires
   
    // create and add the status element
    String sTimestamp = opResponse.toIso8601(new Timestamp(System.currentTimeMillis()));
    Element elStatus = responseDom.createElementNS(CswNamespaces.URI_CSW,"csw:SearchStatus");
    elStatus.setAttribute("timestamp",sTimestamp);
    parent.appendChild(elStatus);
   
    // create and add the results element
View Full Code Here

Examples of com.google.enterprise.connector.spiimpl.DateValue.toIso8601()

  public static String checkpoint(Document document) throws RepositoryException {
    String uuid = Value.getSingleValueString(document,
        SpiConstants.PROPNAME_DOCID);
    DateValue dateValue = (DateValue) Value.getSingleValue(document,
        SpiConstants.PROPNAME_LASTMODIFIED);
    String dateString = dateValue.toIso8601();
    String result = null;
    try {
      JSONObject jo = new JSONObject();
      jo.put("uuid", uuid);
      jo.put("lastModified", dateString);
View Full Code Here

Examples of de.anomic.data.ymark.YMarkDate.toISO8601()

                  buffer.append(YMarkEntry.BOOKMARK.URL.xbel());
                  buffer.append(CharacterCoding.unicode2xml(bmk_row.get(YMarkEntry.BOOKMARK.URL.key(), YMarkEntry.BOOKMARK.URL.deflt()), true));
                 
                  buffer.append(YMarkEntry.BOOKMARK.DATE_ADDED.xbel());
                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_ADDED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));
                 
                  buffer.append(YMarkEntry.BOOKMARK.DATE_MODIFIED.xbel());
                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_MODIFIED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));
                 
View Full Code Here

Examples of de.anomic.data.ymark.YMarkDate.toISO8601()

                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_ADDED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));
                 
                  buffer.append(YMarkEntry.BOOKMARK.DATE_MODIFIED.xbel());
                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_MODIFIED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));
                 
                  buffer.append(YMarkEntry.BOOKMARK.DATE_VISITED.xbel());
                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_VISITED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));
                 
View Full Code Here

Examples of de.anomic.data.ymark.YMarkDate.toISO8601()

                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_MODIFIED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));
                 
                  buffer.append(YMarkEntry.BOOKMARK.DATE_VISITED.xbel());
                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_VISITED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));
                 
                  buffer.append(YMarkEntry.BOOKMARK.TAGS.xbel());
                  buffer.append(bmk_row.get(YMarkEntry.BOOKMARK.TAGS.key(), YMarkEntry.BOOKMARK.TAGS.deflt()));
                 
                  buffer.append(YMarkEntry.BOOKMARK.PUBLIC.xbel());
View Full Code Here

Examples of de.anomic.data.ymark.YMarkDate.toISO8601()

                  buffer.append(YMarkEntry.BOOKMARK.URL.xbel());
                  buffer.append(CharacterCoding.unicode2xml(bmk_row.get(YMarkEntry.BOOKMARK.URL.key(), YMarkEntry.BOOKMARK.URL.deflt()), true));

                  buffer.append(YMarkEntry.BOOKMARK.DATE_ADDED.xbel());
                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_ADDED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));

                  buffer.append(YMarkEntry.BOOKMARK.DATE_MODIFIED.xbel());
                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_MODIFIED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));
View Full Code Here

Examples of de.anomic.data.ymark.YMarkDate.toISO8601()

                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_ADDED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));

                  buffer.append(YMarkEntry.BOOKMARK.DATE_MODIFIED.xbel());
                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_MODIFIED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));

                  buffer.append(YMarkEntry.BOOKMARK.DATE_VISITED.xbel());
                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_VISITED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));
View Full Code Here

Examples of de.anomic.data.ymark.YMarkDate.toISO8601()

                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_MODIFIED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));

                  buffer.append(YMarkEntry.BOOKMARK.DATE_VISITED.xbel());
                  date.set(bmk_row.get(YMarkEntry.BOOKMARK.DATE_VISITED.key()));
                  buffer.append(CharacterCoding.unicode2xml(date.toISO8601(), true));

                  buffer.append(YMarkEntry.BOOKMARK.TAGS.xbel());
                  buffer.append(CharacterCoding.unicode2xml(bmk_row.get(YMarkEntry.BOOKMARK.TAGS.key(), YMarkEntry.BOOKMARK.TAGS.deflt()),true));

                  buffer.append(YMarkEntry.BOOKMARK.PUBLIC.xbel());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.