Flex Gateway新着情報
Governance新着情報
Monitoring API ManagerFlex Gateway新着情報
Governance新着情報
Monitoring API Manager2.x
Mule 4
3.9
1.1
2.x
1.2
7.x
toTimeZone
toTimeZone
String
値を TimeZone
値に変換します。
DataWeave バージョン 2.4.0 で導入されました。
名前 | 説明 |
---|---|
|
|
次の例では、さまざまな入力での toTimeZone
の動作を示します。
application/dw
形式の出力が生成されます。
%dw 2.0
import * from dw::util::Coercions
output application/dw
---
{
toTimeZoneOffset: toTimeZone("-03:00"),
toTimeZoneAbbreviation: toTimeZone("Z"),
toTimeZoneName: toTimeZone("America/Argentina/Buenos_Aires")
}
DataWeave
{
toTimeZoneOffset: |-03:00|,
toTimeZoneAbbreviation: |Z|,
toTimeZoneName: |America/Argentina/Buenos_Aires|
}
DataWeave