io
.
fsq
.
dollar
DollarAmount
Related Docs:
object DollarAmount
|
package dollar
class
DollarAmount
extends
Ordered
[
DollarAmount
]
Linear Supertypes
Ordered
[
DollarAmount
],
Comparable
[
DollarAmount
],
AnyRef
,
Any
Known Subclasses
CentAmount
Ordering
Alphabetic
By Inheritance
Inherited
DollarAmount
Ordered
Comparable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
DollarAmount
(
value:
Long
)
Attributes
protected
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
%
(
other:
DollarAmount
)
:
Long
def
*
(
multiplicand:
Double
)
:
DollarAmount
def
*
(
multiplicand:
Long
)
:
DollarAmount
def
*
(
multiplicand:
Int
)
:
DollarAmount
def
+
(
other:
DollarAmount
)
:
DollarAmount
def
-
(
other:
DollarAmount
)
:
DollarAmount
def
/
(
divisor:
Double
)
:
DollarAmount
def
/
(
divisor:
Long
)
:
DollarAmount
def
/
(
divisor:
Int
)
:
DollarAmount
def
/
(
other:
DollarAmount
)
:
Double
def
<
(
that:
DollarAmount
)
:
Boolean
Definition Classes
Ordered
def
<=
(
that:
DollarAmount
)
:
Boolean
Definition Classes
Ordered
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
>
(
that:
DollarAmount
)
:
Boolean
Definition Classes
Ordered
def
>=
(
that:
DollarAmount
)
:
Boolean
Definition Classes
Ordered
def
abs
:
DollarAmount
def
asCents
(
round:
Rounding
)
:
Long
def
asDollars
(
round:
Rounding
)
:
Long
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
asMicros
:
Long
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
compare
(
other:
DollarAmount
)
:
Int
Definition Classes
DollarAmount
→ Ordered
def
compareTo
(
that:
DollarAmount
)
:
Int
Definition Classes
Ordered → Comparable
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
other:
Any
)
:
Boolean
Definition Classes
DollarAmount
→ AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
DollarAmount
→ AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isNegative
:
Boolean
def
isPositive
:
Boolean
def
max
(
other:
DollarAmount
)
:
DollarAmount
def
min
(
other:
DollarAmount
)
:
DollarAmount
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
roundedHalfEvenToCents
:
CentAmount
def
roundedToCents
(
round:
Rounding
)
:
CentAmount
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
(
forceCents:
Boolean
,
commaify:
Boolean
=
false
,
withDollarSign:
Boolean
=
true
,
locale:
Locale
=
Locale.US
)
:
String
def
toString
()
:
String
Definition Classes
DollarAmount
→ AnyRef → Any
def
unary_-
:
DollarAmount
val
value
:
Long
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Ordered
[
DollarAmount
]
Inherited from
Comparable
[
DollarAmount
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped