然后,可以“按现状”使用该字符串,或者将其转换成不同的日期格式,以便于在生成的文档中使用。
You can then use this string as-is or transform it into a different date format for use in the resulting document.
当用户从下拉菜单中选择了一个日期后,它必须被格式化为相应的字符串,需要进行反向查找,也就是根据索引查找缩写。
When a user selects a date from the drop down menu, it has to be formatted into the corresponding string, requiring the opposite lookup, namely the acronym given the index.
显然,将日期格式设置为字符串代价高昂。
应用推荐