abstract class MomentBase extends TimePointBase with LanguageString
- Alphabetic
- By Inheritance
- MomentBase
- LanguageString
- TimePointBase
- Time
- PointNumber
- Number
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def companion: Calendar.NumberCompanion[Point]
Companion object that was used to create the number.
Companion object that was used to create the number.
- Definition Classes
- Number
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def +(that: Vector): Point
Returns Point resulting from adding specified Vector to this one.
Returns Point resulting from adding specified Vector to this one.
- Definition Classes
- PointNumber
- final def -(that: Vector): Point
Returns Point resulting subtracting specified Vector to this one.
Returns Point resulting subtracting specified Vector to this one.
- Definition Classes
- PointNumber
- final def -(that: Point): Vector
Returns Vector representing difference between
thisandthatnumbers (which must be both Points or both Vectors).Returns Vector representing difference between
thisandthatnumbers (which must be both Points or both Vectors).- Definition Classes
- Number
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def abs: Point
Returns absolute value of this number.
Returns absolute value of this number.
- Definition Classes
- Number
- final def add(that: Calendar.Number[_]): Digits
- Attributes
- protected
- Definition Classes
- Number
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def compare(that: Point): Int
How does
thisnumber compare withthat?How does
thisnumber compare withthat?- Definition Classes
- Number
- final def day: Day
- final def day(number: Int): Point
- Definition Classes
- Time
- final def dayNumber: Int
- final def days(value: Int): Point
- Definition Classes
- Time
- final def days: Int
- Definition Classes
- Time
- final val digits: Digits
- Definition Classes
- Number
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def equals(other: Any): Boolean
Are the two numbers equal?
Are the two numbers equal?
- Definition Classes
- Number → AnyRef → Any
- final def firstHalfHours(value: Int): Point
- Definition Classes
- Time
- final def get(position: Int): Int
Returns digit at
position.Returns digit at
position.- Definition Classes
- Number
- final def get(digit: Digit): Int
Returns digit described by the Digit descriptor
digit. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def halfHour: Point
- Definition Classes
- Time
- final def hashCode(): Int
- Definition Classes
- Number → AnyRef → Any
- final def hours(value: Int): Point
- Definition Classes
- Time
- final def hours: Int
- Definition Classes
- Time
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isNegative: Boolean
Is this number less than
0?Is this number less than
0?- Definition Classes
- Number
- final def isPositive: Boolean
Is this number greater than
0?Is this number greater than
0?- Definition Classes
- Number
- final def isZero: Boolean
Is this number equal to
0?Is this number equal to
0?- Definition Classes
- Number
- final def length: Int
Returns number of digits after the
point.Returns number of digits after the
point.- Definition Classes
- Number
- final def milliseconds: Int
- Definition Classes
- Time
- final def minutes(value: Int): Point
- Definition Classes
- Time
- final def minutes: Int
- Definition Classes
- Time
- final def moments(value: Int): Point
- Definition Classes
- Time
- final def moments: Int
- Definition Classes
- Time
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def parts(value: Int): Point
- Definition Classes
- Time
- final def parts: Int
- Definition Classes
- Time
- final def partsWithoutMinutes(value: Int): Point
- Definition Classes
- Time
- final def partsWithoutMinutes: Int
- Definition Classes
- Time
- final def roundTo(length: Int): Point
Returns this number rounded to the
position.Returns this number rounded to the
position.- Definition Classes
- Number
- final def roundTo(digit: Digit): Point
Returns this number rounded to the digit described by the Digit descriptor
digit. - final def secondHalfHours(value: Int): Point
- Definition Classes
- Time
- final def seconds: Int
- Definition Classes
- Time
- final def secondsAndMilliseconds(seconds: Int, milliseconds: Int): Point
- Definition Classes
- Time
- final def set(position: Int, value: Int): Point
Returns this number with digit at
positionset tovalue.Returns this number with digit at
positionset tovalue.- Definition Classes
- Number
- final def set(digit: Digit, value: Int): Point
Returns this number with digit described by the Digit descriptor
digitset tovalue. - final def signum: Int
Returns the signum of this number:
-1if it is negative,1if it is positive and0if it is neither.Returns the signum of this number:
-1if it is negative,1if it is positive and0if it is neither.- Definition Classes
- Number
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def time: Vector
- Definition Classes
- Time
- final def toDouble: Double
Converts this number to
Double.Converts this number to
Double.- Definition Classes
- Number
- final def toLanguageString(implicit spec: LanguageSpec): String
- Definition Classes
- MomentBase → LanguageString
- final def toRational: BigRational
Converts this number to org.opentorah.numbers.BigRational.
Converts this number to org.opentorah.numbers.BigRational.
- Definition Classes
- Number
- final def toSecondLanguageString(implicit spec: LanguageSpec): String
- final def toString(): String
- Definition Classes
- LanguageString → AnyRef → Any
- final def toString(length: Int): String
Returns string representation of this number with
lengthpositions (padding/truncating as needed).Returns string representation of this number with
lengthpositions (padding/truncating as needed).- Definition Classes
- Number
- final def unary_-: Point
Returns this number with the sign inverted.
Returns this number with the sign inverted.
- Definition Classes
- Number
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated