Class Duration

java.lang.Object
com.ptc.projectmanagement.plan._Duration
com.ptc.projectmanagement.plan.Duration
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, NetFactor, ObjectMappable

@GenAsObjectMappable(serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="millis",type=long.class),@GeneratedProperty(name="durationFormat",type=DurationFormat.class)}) public class Duration extends com.ptc.projectmanagement.plan._Duration

Use the newDuration static factory method(s), not the Duration constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
  • Field Summary

    Fields inherited from class com.ptc.projectmanagement.plan._Duration

    DURATION_FORMAT, EXTERNALIZATION_VERSION_UID, MILLIS
  • Method Summary

    Modifier and Type
    Method
    Description
    static Duration
    Default factory for the class.

    Methods inherited from class com.ptc.projectmanagement.plan._Duration

    getClassInfo, getConceptualClassname, getDurationFormat, getMillis, readExternal, readExternal, readVersion, setDurationFormat, setMillis, writeExternal, writeExternal

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • newDuration

      public static Duration newDuration() throws WTException
      Default factory for the class.

      Supported API: true
      Returns:
      Duration
      Throws:
      WTException