Class Duration
public class Duration : JVMBridgeBase<Duration>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Duration>Duration
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Duration>.SExecute<TNewClass, TReturn, TConverter>(IJavaType, string, params object[])JVMBridgeBase<Duration>.IsAssignableFrom(IJavaType)JVMBridgeBase<Duration>.IsAssignableFrom<T>()JVMBridgeBase<Duration>.Execute<T>(params T[])JVMBridgeBase<Duration>.DynBridgeClazzJVMBridgeBase<Duration>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Duration()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Duration class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Duration()
Duration(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("Duration class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Duration(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Days
public int Days { get; }
Property Value
Hours
public int Hours { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Minutes
public int Minutes { get; }
Property Value
Months
public int Months { get; }
Property Value
Seconds
public int Seconds { get; }
Property Value
Sign
public int Sign { get; }
Property Value
XMLSchemaType
public QName XMLSchemaType { get; }
Property Value
Years
public int Years { get; }
Property Value
Methods
Add(Duration)
public Duration Add(Duration arg0)
Parameters
Returns
AddTo(Calendar)
public void AddTo(Calendar arg0)
Parameters
AddTo(Date)
public void AddTo(Date arg0)
Parameters
Compare(Duration)
public int Compare(Duration arg0)
Parameters
Returns
GetField(Field)
public Number GetField(DatatypeConstants.Field arg0)
Parameters
Returns
GetTimeInMillis(Calendar)
public long GetTimeInMillis(Calendar arg0)
Parameters
Returns
GetTimeInMillis(Date)
public long GetTimeInMillis(Date arg0)
Parameters
Returns
IsLongerThan(Duration)
public bool IsLongerThan(Duration arg0)
Parameters
Returns
IsSet(Field)
public bool IsSet(DatatypeConstants.Field arg0)
Parameters
Returns
IsShorterThan(Duration)
public bool IsShorterThan(Duration arg0)
Parameters
Returns
Multiply(BigDecimal)
public Duration Multiply(BigDecimal arg0)
Parameters
arg0
BigDecimal
Returns
Multiply(int)
public Duration Multiply(int arg0)
Parameters
Returns
Negate()
public Duration Negate()
Returns
NormalizeWith(Calendar)
public Duration NormalizeWith(Calendar arg0)
Parameters
Returns
Subtract(Duration)
public Duration Subtract(Duration arg0)