measurement-toolkit › "Time/SI/Gigasecond" › Gigasecond
Class: Gigasecond
Hierarchy
↳ Gigasecond
Implements
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
+ new Gigasecond(value
: number): Gigasecond
Inherited from SimpleUnit.constructor
Defined in SimpleUnit.ts:17
Parameters:
Name | Type |
---|---|
value |
number |
Returns: Gigasecond
Properties
baseUnit
• baseUnit: Second‹› = new Second(this.value * Math.pow(10, 9))
Implementation of IDerivedUnit.baseUnit
Overrides SiDerivedUnit.baseUnit
Defined in Time/SI/Gigasecond.ts:14
symbol
• symbol: string = "Gs"
Implementation of IUnitOfTime.symbol
Overrides SimpleUnit.symbol
Defined in Time/SI/Gigasecond.ts:13
value
• value: number
Implementation of IUnitOfTime.value
Inherited from SimpleUnit.value
Defined in SimpleUnit.ts:15
Accessors
to
• get to(): any
Defined in Unit.ts:14
Returns: any
Methods
add
▸ add(unit
: SimpleUnit): this
Inherited from SimpleUnit.add
Defined in SimpleUnit.ts:35
Parameters:
Name | Type |
---|---|
unit |
SimpleUnit |
Returns: this
divideBy
▸ divideBy(unit
: SimpleUnit): this
Inherited from SimpleUnit.divideBy
Defined in SimpleUnit.ts:41
Parameters:
Name | Type |
---|---|
unit |
SimpleUnit |
Returns: this
dividedBy
▸ dividedBy(unit
: SimpleUnit): this
Inherited from SimpleUnit.dividedBy
Defined in SimpleUnit.ts:47
Parameters:
Name | Type |
---|---|
unit |
SimpleUnit |
Returns: this
getConverters
▸ getConverters(): object
Implementation of IUnitOfTime
Inherited from SimpleDerivedUnit.getConverters
Overrides SimpleUnit.getConverters
Defined in SimpleDerivedUnit.ts:19
Returns: object
- [ key: string]: function
▸ (): ISimpleUnit
multiply
▸ multiply(unit
: SimpleUnit): this
Inherited from SimpleUnit.multiply
Defined in SimpleUnit.ts:53
Parameters:
Name | Type |
---|---|
unit |
SimpleUnit |
Returns: this
percentageOf
▸ percentageOf(unit
: SimpleUnit): this
Inherited from SimpleUnit.percentageOf
Overrides Unit.percentageOf
Defined in SimpleUnit.ts:59
Parameters:
Name | Type |
---|---|
unit |
SimpleUnit |
Returns: this
percentageOfThis
▸ percentageOfThis(unit
: SimpleUnit): this
Inherited from SimpleUnit.percentageOfThis
Defined in SimpleUnit.ts:65
Parameters:
Name | Type |
---|---|
unit |
SimpleUnit |
Returns: this
subtract
▸ subtract(unit
: SimpleUnit): this
Inherited from SimpleUnit.subtract
Defined in SimpleUnit.ts:29
Parameters:
Name | Type |
---|---|
unit |
SimpleUnit |
Returns: this
toString
▸ toString(): string
Implementation of IUnitOfTime
Inherited from SimpleUnit.toString
Defined in SimpleUnit.ts:71
Returns: string