OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ofYears
(Results
1 - 3
of
3
) sorted by null
/libcore/ojluni/src/main/java/java/time/
Period.java
175
public static Period
ofYears
(int years) {
308
* "P2Y" -- Period.
ofYears
(2)
[
all
...]
/libcore/ojluni/src/test/java/time/tck/java/time/
TCKPeriod.java
92
//
ofYears
(int)
96
assertPeriod(Period.
ofYears
(0), 0, 0, 0);
97
assertPeriod(Period.
ofYears
(1), 1, 0, 0);
98
assertPeriod(Period.
ofYears
(234), 234, 0, 0);
99
assertPeriod(Period.
ofYears
(-100), -100, 0, 0);
100
assertPeriod(Period.
ofYears
(Integer.MAX_VALUE), Integer.MAX_VALUE, 0, 0);
101
assertPeriod(Period.
ofYears
(Integer.MIN_VALUE), Integer.MIN_VALUE, 0, 0);
268
{"P1Y", Period.
ofYears
(1)},
269
{"P12Y", Period.
ofYears
(12)},
270
{"P987654321Y", Period.
ofYears
(987654321)}
[
all
...]
/prebuilts/sdk/current/
core.jar
Completed in 79 milliseconds