Package org.openntf.domino

Examples of org.openntf.domino.DateRange$Schema


            return doc;
        }

        private void addSchema(Document doc, String id, SimpleFeatureType featureType) {
            Schema schema = doc.createAndAddSchema();
            schema.setId(id);
            schema.setName(id);
            for (AttributeDescriptor ad : featureType.getAttributeDescriptors()) {
                // skip geometry attributes
                if (ad instanceof GeometryDescriptor) {
                    continue;
                }

                SimpleField field = schema.createAndAddSimpleField();
                field.setName(ad.getLocalName());
                field.setType(getKmlFieldType(ad));
            }
        }
View Full Code Here


    return d;
  }

  protected DateRange createDateTimeRange(Session session, int year, int month, int day, int hour, int minute,
      int second) {
    DateRange r = session.createDateRange(new Date(), new Date());
    r.setStartDateTime(session.createDateTime(createDateTime(year, month, day, hour, minute, second)));
    r.setEndDateTime(session.createDateTime(createDateTime(year + 1, month, day, hour + 1, minute, second)));
    return r;
  }
View Full Code Here

TOP

Related Classes of org.openntf.domino.DateRange$Schema

Copyright © 2018 www.massapicom. 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.