Class Duration
java.lang.Object
ca.phon.orthography.AbstractOrthographyElement
ca.phon.orthography.Duration
- All Implemented Interfaces:
IExtendable
,OrthographyAnnotation
,OrthographyElement
@Documentation("https://talkbank.org/manuals/CHAT.html#Duration_Scope")
public final class Duration
extends AbstractOrthographyElement
implements OrthographyAnnotation
Duration annotation, printed in minutes and seconds.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ca.phon.orthography.AbstractOrthographyElement
getExtension, getExtensions, putExtension, removeExtension, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ca.phon.extensions.IExtendable
getExtension, getExtensions, putExtension, removeExtension
-
Constructor Details
-
Duration
public Duration(float duration)
-
-
Method Details
-
getDuration
public float getDuration() -
text
Description copied from interface:OrthographyElement
Get string representation of the element.- Specified by:
text
in interfaceOrthographyElement
- Returns:
- the string value of the element
-