Tabnine Logo
TimeStamp
Code IndexAdd Tabnine to your IDE (free)

How to use
TimeStamp
in
de.micromata.opengis.kml.v_2_2_0

Best Java code snippets using de.micromata.opengis.kml.v_2_2_0.TimeStamp (Showing top 18 results out of 315)

origin: micromata/javaapiforkml

/**
 * fluent setter
 * @see #setWhen(String)
 * 
 * @param when
 *     required parameter
 */
public TimeStamp withWhen(final String when) {
  this.setWhen(when);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * Create an instance of {@link TimeStamp}
 * 
 */
public static TimeStamp createTimeStamp() {
  return new TimeStamp();
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * add a value to the timeStampObjectExtension property collection
 * 
 * @param timeStampObjectExtension
 *     Objects of the following type are allowed in the list: {@link AbstractObject}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public TimeStamp addToTimeStampObjectExtension(final AbstractObject timeStampObjectExtension) {
  this.getTimeStampObjectExtension().add(timeStampObjectExtension);
  return this;
}
origin: goGPS-Project/goGPS_Java

String name = c.obs.index + ": " + sdf.format(new Date(c.getRefTime().getMsec()));
TimeStamp ts = new TimeStamp();
ts.setWhen(t);
origin: de.micromata.jak/JavaAPIforKml

@Override
public TimeStamp clone() {
  TimeStamp copy;
  copy = ((TimeStamp) super.clone());
  copy.timeStampSimpleExtension = new ArrayList<Object>((getTimeStampSimpleExtension().size()));
  for (Object iter: timeStampSimpleExtension) {
    copy.timeStampSimpleExtension.add(iter);
  }
  copy.timeStampObjectExtension = new ArrayList<AbstractObject>((getTimeStampObjectExtension().size()));
  for (AbstractObject iter: timeStampObjectExtension) {
    copy.timeStampObjectExtension.add(iter.clone());
  }
  return copy;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * fluent setter
 * @see #setTimeStampSimpleExtension(List<Object>)
 * 
 * @param timeStampSimpleExtension
 *     required parameter
 */
public TimeStamp withTimeStampSimpleExtension(final List<Object> timeStampSimpleExtension) {
  this.setTimeStampSimpleExtension(timeStampSimpleExtension);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * fluent setter
 * @see #setTimeStampObjectExtension(List<AbstractObject>)
 * 
 * @param timeStampObjectExtension
 *     required parameter
 */
public TimeStamp withTimeStampObjectExtension(final List<AbstractObject> timeStampObjectExtension) {
  this.setTimeStampObjectExtension(timeStampObjectExtension);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * add a value to the timeStampSimpleExtension property collection
 * 
 * @param timeStampSimpleExtension
 *     Objects of the following type are allowed in the list: {@link Object}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public TimeStamp addToTimeStampSimpleExtension(final Object timeStampSimpleExtension) {
  this.getTimeStampSimpleExtension().add(timeStampSimpleExtension);
  return this;
}
origin: micromata/javaapiforkml

@Override
public TimeStamp clone() {
  TimeStamp copy;
  copy = ((TimeStamp) super.clone());
  copy.timeStampSimpleExtension = new ArrayList<Object>((getTimeStampSimpleExtension().size()));
  for (Object iter: timeStampSimpleExtension) {
    copy.timeStampSimpleExtension.add(iter);
  }
  copy.timeStampObjectExtension = new ArrayList<AbstractObject>((getTimeStampObjectExtension().size()));
  for (AbstractObject iter: timeStampObjectExtension) {
    copy.timeStampObjectExtension.add(iter.clone());
  }
  return copy;
}
origin: micromata/javaapiforkml

/**
 * fluent setter
 * @see #setTimeStampSimpleExtension(List<Object>)
 * 
 * @param timeStampSimpleExtension
 *     required parameter
 */
public TimeStamp withTimeStampSimpleExtension(final List<Object> timeStampSimpleExtension) {
  this.setTimeStampSimpleExtension(timeStampSimpleExtension);
  return this;
}
origin: micromata/javaapiforkml

/**
 * fluent setter
 * @see #setTimeStampObjectExtension(List<AbstractObject>)
 * 
 * @param timeStampObjectExtension
 *     required parameter
 */
public TimeStamp withTimeStampObjectExtension(final List<AbstractObject> timeStampObjectExtension) {
  this.setTimeStampObjectExtension(timeStampObjectExtension);
  return this;
}
origin: micromata/javaapiforkml

/**
 * add a value to the timeStampSimpleExtension property collection
 * 
 * @param timeStampSimpleExtension
 *     Objects of the following type are allowed in the list: {@link Object}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public TimeStamp addToTimeStampSimpleExtension(final Object timeStampSimpleExtension) {
  this.getTimeStampSimpleExtension().add(timeStampSimpleExtension);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * fluent setter
 * @see #setWhen(String)
 * 
 * @param when
 *     required parameter
 */
public TimeStamp withWhen(final String when) {
  this.setWhen(when);
  return this;
}
origin: micromata/javaapiforkml

/**
 * Create an instance of {@link TimeStamp}
 * 
 */
public static TimeStamp createTimeStamp() {
  return new TimeStamp();
}
origin: micromata/javaapiforkml

/**
 * add a value to the timeStampObjectExtension property collection
 * 
 * @param timeStampObjectExtension
 *     Objects of the following type are allowed in the list: {@link AbstractObject}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public TimeStamp addToTimeStampObjectExtension(final AbstractObject timeStampObjectExtension) {
  this.getTimeStampObjectExtension().add(timeStampObjectExtension);
  return this;
}
origin: org.geoserver/kml

@Override
public Feature decorate(Feature feature, KmlEncodingContext context) {
  Placemark pm = (Placemark) feature;
  // try with the template
  SimpleFeature sf = context.getCurrentFeature();
  try {
    String[] times = execute(context.getTemplate(), sf);
    if (times != null && times.length > 0) {
      if (times.length == 1) {
        TimeStamp stamp = pm.createAndSetTimeStamp();
        stamp.setWhen(times[0]);
      } else {
        TimeSpan span = pm.createAndSetTimeSpan();
        span.setBegin(times[0]);
        span.setEnd(times[1]);
      }
    }
  } catch (IOException e) {
    throw new ServiceException(
        "Failed to apply KML time template to the current feature", e);
  }
  return pm;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * Creates a new instance of {@link TimeStamp} and set it to timePrimitive.
 * 
 * This method is a short version for:
 * <code>
 * TimeStamp timeStamp = new TimeStamp();
 * this.setTimePrimitive(timeStamp); </code>
 * 
 * 
 */
public TimeStamp createAndSetTimeStamp() {
  TimeStamp newValue = new TimeStamp();
  this.setTimePrimitive(newValue);
  return newValue;
}
origin: micromata/javaapiforkml

/**
 * Creates a new instance of {@link TimeStamp} and set it to timePrimitive.
 * 
 * This method is a short version for:
 * <code>
 * TimeStamp timeStamp = new TimeStamp();
 * this.setTimePrimitive(timeStamp); </code>
 * 
 * 
 */
public TimeStamp createAndSetTimeStamp() {
  TimeStamp newValue = new TimeStamp();
  this.setTimePrimitive(newValue);
  return newValue;
}
de.micromata.opengis.kml.v_2_2_0TimeStamp

Javadoc

Represents a single moment in time. This is a simple element and contains no children. Its value is a dateTime, specified in XML time (see XML Schema Part 2: Datatypes Second Edition). The precision of the TimeStamp is dictated by the dateTime value in the element.

Syntax:
<TimeStamp id=ID> 
<when>...</when>      <!-- kml:dateTime --> 
</TimeStamp> 
Extends:

Most used methods

  • setWhen
  • <init>
  • getTimeStampObjectExtension
  • getTimeStampSimpleExtension
  • setTimeStampObjectExtension
  • setTimeStampSimpleExtension

Popular in Java

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • JTable (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now