1
0
mirror of synced 2026-10-25 07:56:11 +08:00

v1.2.22 新增万圣节、万圣节前夜;新增全国中小学生安全教育日;新增春社(原二月初二春社改为社日节)、秋社;优化代码。

This commit is contained in:
6tail
2022-04-25 21:53:01 +08:00
parent 9756d126d2
commit 3415fc04a4
28 changed files with 197 additions and 100 deletions

View File

@@ -18,7 +18,7 @@ public class Foto {
/**
* 阴历
*/
private Lunar lunar;
private final Lunar lunar;
public Foto(Lunar lunar) {
this.lunar = lunar;
@@ -228,7 +228,7 @@ public class Foto {
public String toFullString() {
StringBuilder s = new StringBuilder();
s.append(toString());
s.append(this);
for (FotoFestival f : getFestivals()) {
s.append(" (");
s.append(f);