mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
11 lines
222 B
Java
11 lines
222 B
Java
import java.util.*;
|
|
|
|
class Test extends GregorianCalendar {
|
|
public boolean isSaturday() {
|
|
return newMethod() == SATURDAY;
|
|
}
|
|
|
|
private int newMethod() {
|
|
return get( Calendar.DAY_OF_WEEK );
|
|
}
|
|
} |