mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
11 lines
220 B
Java
11 lines
220 B
Java
import java.util.*;
|
|
|
|
class Test extends GregorianCalendar {
|
|
public boolean isSaturday() {
|
|
return newMethod() == SATURDAY;
|
|
}
|
|
|
|
private int newMethod() {
|
|
return get(Calendar.DAY_OF_WEEK);
|
|
}
|
|
} |