Skip to content

Commit 22ee2ad

Browse files
committed
add example file
1 parent 4e0c3d3 commit 22ee2ad

File tree

3 files changed

+1307
-0
lines changed

3 files changed

+1307
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626

2727
如果 `<input file>``<output file>` 值为短横线或未设置命令行参数, 则表示采用标准输入/输出流.
2828

29+
## 示例
30+
31+
见目录[`/doc/example/`](!https://github.com/leafee98/class-schedule-to-icalendar-core/tree/master/doc/example)
32+
2933
## 待办
3034

3135
[ ] 修正转义不完善的问题(针对`\$`等转义字符)

doc/example/e1/e1.csti

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
[[[
2+
event-summary-format:${lessonName}-${location}
3+
event-description-format:name:${lessonName}\nlocation:${location}\nteacher:${teacher}\ntype:${lessonType}\nremark:${remark}\nschedule:${scheduleFull}
4+
timezone:Asia/Shanghai
5+
first-day-of-week:1
6+
semester-start-date:2020-02-24
7+
reminder-time:-15m
8+
lesson-ranges:
9+
1=08:00:00-08:45:00,
10+
2=08:50:00-09:35:00,
11+
3=09:50:00-10:35:00,
12+
4=10:40:00-11:25:00,
13+
5=11:30:00-12:15:00,
14+
6=13:30:00-14:15:00,
15+
7=14:20:00-15:05:00,
16+
8=15:20:00-16:05:00,
17+
9=16:10:00-16:55:00,
18+
10=18:30:00-19:15:00,
19+
11=19:20:00-20:05:00,
20+
12=20:10:00-20:55:00
21+
]]]
22+
23+
<<<
24+
name:软件测试技术
25+
type:专业必修
26+
teacher:某教师a
27+
location:某位置a
28+
remark:暂无
29+
schedule:
30+
1-14|1|6-9;
31+
>>>
32+
33+
<<<
34+
name:软件项目管理
35+
type:专业必修
36+
teacher:某教师b
37+
location:某位置b
38+
remark:没有
39+
schedule:
40+
1-11|2|3-5;
41+
>>>
42+
43+
<<<
44+
name:软件测试实践
45+
type:实践选修
46+
teacher:某教师c
47+
location:某位置c
48+
remark:无
49+
schedule:
50+
1,3,5,7,9,11,13,15|2|8-9;
51+
>>>
52+
53+
<<<
54+
name:高级软件工程
55+
type:专业必修
56+
teacher:某教师d
57+
location:某位置d
58+
remark:无
59+
schedule:
60+
1-16|3|3-5;
61+
>>>
62+
63+
<<<
64+
name:编译原理
65+
type:专业必修
66+
teacher:某教师e
67+
location:某位置e
68+
remark:无
69+
schedule:
70+
1-12|4|3-5;
71+
13-14|4|3-5;
72+
>>>
73+
74+
<<<
75+
name:软件开发实践
76+
type:专业实践
77+
teacher:某教师f
78+
location:某位置f
79+
remark:无
80+
schedule:
81+
1-4|0|6-7;
82+
1-4|0|8-9;
83+
>>>

0 commit comments

Comments
 (0)