Package org.ivoa.vodml.stdtypes
Class Duration
- java.lang.Object
-
- org.ivoa.vodml.stdtypes.Duration
-
@Embeddable @VoDml(ref="ivoa:duration", type=primitiveType) public class Duration extends java.lang.Object
UML PrimitiveType duration : Represents an interval of time from beginning to end. Is not equivalent to a simple real value indicating the number of seconds (for example). In general a custom mapping to a particular serialisation context must be provided.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetFrom()java.util.DategetTo()voidsetFrom(java.util.Date from)voidsetTo(java.util.Date to)
-