Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MenoData/Time4J
/ hours
Method
hours
base/src/main/java/net/time4j/Duration.java:4098–4103 ·
view source on GitHub ↗
(int num)
Source
from the content-addressed store, hash-verified
4096
* @see ClockUnit#HOURS
4097
*/
4098
public
Builder hours(
int
num) {
4099
4100
this.set(num, HOURS);
4101
return
this;
4102
4103
}
4104
4105
/**
4106
* <p>Adds a minute item. </p>
Callers
15
ofPositiveBuilder
Method · 0.80
ofPositiveBuilderWithZeroPart
Method · 0.80
ofNegativeBuilder
Method · 0.80
ofNegativeBuilderWithZeroPart
Method · 0.80
ofBuilderWithDuplicateUnit1
Method · 0.80
ofBuilderWithDuplicateUnit2
Method · 0.80
compose
Method · 0.80
jodaStyle
Method · 0.80
toTemporalAmountGeneral
Method · 0.80
withApproximatePeriodAppliedOnGeneralDuration
Method · 0.80
withApproximatePeriodInRoundedStepsOf3Hours
Method · 0.80
withApproximateMaxUnitOnly
Method · 0.80
Calls
1
set
Method · 0.95
Tested by
15
ofPositiveBuilder
Method · 0.64
ofPositiveBuilderWithZeroPart
Method · 0.64
ofNegativeBuilder
Method · 0.64
ofNegativeBuilderWithZeroPart
Method · 0.64
ofBuilderWithDuplicateUnit1
Method · 0.64
ofBuilderWithDuplicateUnit2
Method · 0.64
compose
Method · 0.64
jodaStyle
Method · 0.64
toTemporalAmountGeneral
Method · 0.64
withApproximatePeriodAppliedOnGeneralDuration
Method · 0.64
withApproximatePeriodInRoundedStepsOf3Hours
Method · 0.64
withApproximateMaxUnitOnly
Method · 0.64