Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将月份名称更改为大写。有人知道吗?
这是我的示例条件:
(new SimpleDateFormat("MMMM yyyy")).format($P{date_start})
使用.toUpperCase(),如下:
.toUpperCase()
(new SimpleDateFormat("MMMM yyyy")).format($P{date_start}).toString().toUpperCase()