ในไฟล์date.cในซอร์สโค้ดของ Git ฉันสังเกตโครงสร้างของชื่อเวลาพิเศษต่อไปนี้:
static const struct special {
const char *name;
void (*fn)(struct tm *, struct tm *, int *);
} special[] = {
{ "yesterday", date_yesterday },
{ "noon", date_noon },
{ "midnight", date_midnight },
{ "tea", date_tea },
{ "PM", date_pm },
{ "AM", date_am },
{ "never", date_never },
{ "now", date_now },
{ NULL }
};
ฉันเข้าใจยูทิลิตี้ (ค่อนข้าง) ส่วนใหญ่ แต่ทำไมถึงมีเวลา "น้ำชา" (ประเมินเป็น 17:00 น.) นี่เป็นเพียงไข่อีสเตอร์แปลก ๆ หรือเปล่า?