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:
  • Method Details

    • newDuration

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

      Supported API: true
      Returns:
      Duration
      Throws:
      WTException