Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MenoData/Time4J
/ isNegative
Method
isNegative
base/src/main/java/net/time4j/engine/TimeSpan.java:157–157 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
155
* @
return
{@code true}
if
negative and not empty
else
{@code false}
156
*/
157
boolean isNegative();
158
159
/**
160
* <p>Queries
if
this time span is positive. </p>
Callers
15
ofSingleUnitPositive7Weeks
Method · 0.65
ofSingleUnitPositive3Days
Method · 0.65
ofSingleUnitPositive6Hours
Method · 0.65
ofSingleUnitNegative7Weeks
Method · 0.65
ofSingleUnitNegative3Days
Method · 0.65
ofSingleUnitNegative6Hours
Method · 0.65
ofSingleUnitZeroWeeks
Method · 0.65
ofSingleUnitZeroDays
Method · 0.65
ofSingleUnitZeroHours
Method · 0.65
ofCalendarUnitsInYearsMonthsDays
Method · 0.65
ofCalendarUnitsInMonthsDays
Method · 0.65
ofClockUnitsInHoursMinutesSeconds
Method · 0.65
Implementers
4
DurationBasicsTest
base/src/test/java/net/time4j/Duration
MachineTime
base/src/main/java/net/time4j/MachineT
Normalized
base/src/main/java/net/time4j/MachineT
SingleUnitTimeSpan
base/src/main/java/net/time4j/range/Si
Calls
no outgoing calls
Tested by
15
ofSingleUnitPositive7Weeks
Method · 0.52
ofSingleUnitPositive3Days
Method · 0.52
ofSingleUnitPositive6Hours
Method · 0.52
ofSingleUnitNegative7Weeks
Method · 0.52
ofSingleUnitNegative3Days
Method · 0.52
ofSingleUnitNegative6Hours
Method · 0.52
ofSingleUnitZeroWeeks
Method · 0.52
ofSingleUnitZeroDays
Method · 0.52
ofSingleUnitZeroHours
Method · 0.52
ofCalendarUnitsInYearsMonthsDays
Method · 0.52
ofCalendarUnitsInMonthsDays
Method · 0.52
ofClockUnitsInHoursMinutesSeconds
Method · 0.52