---
schema_version: "1"
id: 77abcc023d573dfcac0ed4ab3997d551a1218af46aa65447a38aa4bb29155c57
title: ++
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-core-functions-plusplus.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-core-functions-plusplus
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 1f1f840564cb82a7733dbb591f0fa342562ee7e63816e3ce82ed4413e75430bc
description: MuleSoft Documentation Site
release: "2.7"
latest: false
---
# ++

## [](#plusplus1)++<S, T>(source: Array<S>, with: Array<T>): Array<S | T>

2 つの値を連結します。

このバージョンの ​`++`​ は、2 つの配列の要素を連結して新しい配列にします。その他のバージョンは、DataWeave でサポートされる文字列、オブジェクト、およびさまざまな日付と時刻の形式で動作します。

2 つの配列に含まれる要素の型が異なる場合、作成される配列内には ​`Array<S>`​ (配列 <S>) に含まれるすべての ​`S`​ 型の要素の後に ​`Array<T>`​ (配列 <T>) に含まれるすべての ​`T`​ 型の要素が続きます。どちらの配列でも、複数の型の要素を混在させることができます。配列には、サポート対象であればどのデータ型でも含めることができます。

### [](#パラメーター)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>source</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">取得元配列。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>with</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">取得元配列に連結する配列。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、​`Array<Number>`​ を ​`Array<String>`​ に連結します。結果は JSON オブジェクトの値として出力されます。

#### [](#ソース)ソース

```DataWeave
%dw 2.0
output application/json
---
{ "result" : [0, 1, 2] ++ ["a", "b", "c"] }
```

#### [](#出力)出力

```JSON
{ "result": [0, 1, 2, "a", "b", "c"] }
```

### [](#例-2)例

#### [](#ソース-2)ソース

```DataWeave
%dw 2.0
output application/json
---
{ "a" : [0, 1, true, "my string"] ++ [2, [3,4,5], {"a": 6}] }
```

#### [](#出力-2)出力

```JSON
{ "a": [0, 1, true, "my string", 2, [3, 4, 5], { "a": 6}] }
```

## [](#plusplus2)++(source: String, with: String): String

2 つの文字列の文字を連結します。

文字列は文字の配列として扱われるため、​`++`​ 演算子は各文字列の文字を 1 文字の文字列からなる配列であるかのように連結します。

### [](#パラメーター-2)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>source</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">取得元文字列。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>with</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">取得元文字列に連結する文字列。</p></td>
</tr>
</tbody>
</table>

### [](#例-3)例

次の例では、2 つの文字列を連結します。ここでは、​`Mule`​ は ​`Array<String> ["M", "u", "l", "e"]`​ として扱われます。結果の ​`MuleSoft`​ は JSON オブジェクトの値として出力されます。

#### [](#ソース-3)ソース

```DataWeave
%dw 2.0
output application/json
---
{ "name" : "Mule" ++ "Soft" }
```

#### [](#出力-3)出力

```JSON
{ "name": "MuleSoft" }
```

## [](#plusplus3)++<T <: Object, Q <: Object>(source: T, with: Q): T & Q

2 つのオブジェクトを連結して、1 つのフラット化したオブジェクトを返します。

`++`​ 演算子は各オブジェクトからすべてのキー-値ペアを抽出し、 まとめて結合し、1 つのオブジェクトにします。

### [](#パラメーター-3)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>source</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">取得元オブジェクト。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>with</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">取得元オブジェクトに連結するオブジェクト。</p></td>
</tr>
</tbody>
</table>

### [](#例-4)例

次の例では、2 つのオブジェクトを連結し、XML に変換します。オブジェクトの配列 ​`{aa: "a", bb: "b"}`​ は個別の XML 要素にフラット化されます。出力では、指定された JSON オブジェクトのキーが XML 要素として使用され、そのオブジェクトの値が XML 値として使用されます。

#### [](#ソース-4)ソース

```DataWeave
%dw 2.0
output application/xml
---
{ concat : {aa: "a", bb: "b"} ++ {cc: "c"} }
```

#### [](#出力-4)出力

```XML
<?xml version="1.0" encoding="UTF-8"?>
<concat>
  <aa>a</aa>
  <bb>b</bb>
  <cc>c</cc>
</concat>
```

## [](#plusplus4)++(date: Date, time: LocalTime): LocalDateTime

`LocalTime`​ (ローカル時刻) を ​`Date`​ (日付) に付加して ​`LocalDateTime`​ (ローカル日時) 値を返します。

`Date`​ (日付) および ​`LocalTime`​ (ローカル時刻) インスタンスは、標準 Java 表記を パイプ (​`|`​) 記号で囲んで記述します。結果は、標準 Java 形式の ​`LocalDateTime`​ (ローカル日時) オブジェクトです。2 つのオブジェクトが連結される順序に 意味はないため、論理的には ​``Date LocalTime`​ と ​`LocalTime Date``​ の結果は同じになります。

### [](#パラメーター-4)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>date</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Date</code>​ (日付)。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>time</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>LocalTime</code>​ (ローカル時刻)。タイムゾーンなしの時刻形式。</p></td>
</tr>
</tbody>
</table>

### [](#例-5)例

次の例では、​`Date`​ (日付) オブジェクトと ​`LocalTime`​ (ローカル時刻) オブジェクトを 連結して、​`LocalDateTime`​ (ローカル日時) を返します。

#### [](#ソース-5)ソース

```DataWeave
%dw 2.0
output application/json
---
{ "LocalDateTime" : (|2017-10-01| ++ |23:57:59|) }
```

#### [](#出力-5)出力

```JSON
{ "LocalDateTime": "2017-10-01T23:57:59" }
```

## [](#plusplus5)++(time: LocalTime, date: Date): LocalDateTime

`LocalTime`​ (ローカル時刻) を ​`Date`​ (日付) に付加して ​`LocalDateTime`​ (ローカル日時) を返します。

2 つのオブジェクトが連結される順序に 意味はないため、論理的には ​``LocalTime Date`​ と ​`Date LocalTime``​ の結果は同じになります。

### [](#パラメーター-5)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>time</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>LocalTime</code>​ (ローカル時刻)。タイムゾーンなしの時刻形式。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>date</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Date</code>​ (日付)。</p></td>
</tr>
</tbody>
</table>

### [](#例-6)例

次の例では、​`LocalTime`​ (ローカル時刻) オブジェクトと ​`Date`​ (日付) オブジェクトを 連結して、​`LocalDateTime`​ (ローカル日時) を返します。

#### [](#ソース-6)ソース

```DataWeave
%dw 2.0
output application/json
---
{ "LocalDateTime" : (|23:57:59| ++ |2003-10-01|) }
```

#### [](#出力-6)出力

```JSON
{ "LocalDateTime": "2017-10-01T23:57:59" }
```

## [](#plusplus6)++(date: Date, time: Time): DateTime

`Date`​ (日付) を​`Time`​ (時刻) に付加して ​`DateTime`​ (日時) を返します。

2 つのオブジェクトが連結される順序に意味はないため、 論理的には ​`Date`​ (日付) + ​`Time`​ (時刻) と ​`Time`​ (時刻) + ​`Date`​ (日付) の結果は同じになります。

### [](#パラメーター-6)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>date</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Date</code>​ (日付)。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>time</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Time</code>​ (時刻)。タイムゾーン (​<code>Z</code>​ または ​<code>HH:mm</code>​) を含めることができる時刻形式。</p></td>
</tr>
</tbody>
</table>

### [](#例-7)例

次の例では、​`Date`​ (ローカル時刻) オブジェクトと ​`Time`​ (日付) オブジェクトを 連結して、​`DateTime`​ (ローカル日時) を返します。

#### [](#ソース-7)ソース

```DataWeave
%dw 2.0
output application/json
---
[ |2017-10-01| ++ |23:57:59-03:00|, |2017-10-01| ++ |23:57:59Z| ]
```

#### [](#出力-7)出力

```JSON
[ "2017-10-01T23:57:59-03:00", "2017-10-01T23:57:59Z" ]
```

## [](#plusplus7)++(time: Time, date: Date): DateTime

`Date`​ (日付) を​`Time`​ (時刻) オブジェクトに付加して ​`DateTime`​ (日時) を返します。

2 つのオブジェクトが連結される順序に意味はないため、 論理的には ​`Date`​ (日付) + ​`Time`​ (時刻) と ​`Time`​ (時刻) + ​`Date`​ (日付) の結果は同じになります。

### [](#パラメーター-7)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>time</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Time</code>​ (時刻)。タイムゾーン (​<code>Z</code>​ または ​<code>HH:mm</code>​) を含めることができる時刻形式。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>date</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Date</code>​ (日付)。</p></td>
</tr>
</tbody>
</table>

### [](#例-8)例

次の例では、​`Date`​ (日付) を ​`Time`​ (時刻) と連結して ​`DateTime`​ (日時) を出力します。 入力はパイプ (​`|`​) で囲まれています。

#### [](#ソース-8)ソース

```DataWeave
%dw 2.0
output application/json
---
|2018-11-30| ++ |23:57:59+01:00|
```

#### [](#出力-8)出力

```JSON
"2018-11-30T23:57:59+01:00"
```

### [](#例-9)例

次の例では、​`Time`​ (時刻) オブジェクトと ​`Date`​ (日付) オブジェクトを 連結して、​`DateTime`​ (日時) オブジェクトを返します。最初の ​`LocalTime` ​``(ローカル時刻) オブジェクトは `​Time`` (時刻) に変更されています。 日付と時刻の入力の順序によって出力の ​`DateTime`​ (日時) の順序が変わることはありません。

#### [](#ソース-9)ソース

```DataWeave
%dw 2.0
output application/json
---
{
  "DateTime1" : (|23:57:59| as Time) ++ |2017-10-01|,
  "DateTime2" : |23:57:59Z| ++ |2017-10-01|,
  "DateTime3" : |2017-10-01| ++ |23:57:59+02:00|
}
```

#### [](#出力-9)出力

```JSON
{
  "DateTime1": "2017-10-01T23:57:59Z",
  "DateTime2": "2017-10-01T23:57:59Z",
  "DateTime3": "2017-10-01T23:57:59+02:00"
}
```

## [](#plusplus8)++(date: Date, timezone: TimeZone): DateTime

`TimeZone`​ (タイムゾーン) を ​`Date`​ (日付) 型の値に付加して ​`DateTime`​ (日時) の結果を返します。

### [](#パラメーター-8)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>date</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Date</code>​ (日付)。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>timezone</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>TimeZone</code>​ (タイムゾーン) (​<code>Z</code>​ または ​<code>HH:mm</code>​)。</p></td>
</tr>
</tbody>
</table>

### [](#例-10)例

次の例では、​`Date`​ (日付) と ​`TimeZone`​ (タイムゾーン) (​`-03:00`​) を連結して、 ​`DateTime`​ (日時) を返します。​`DateTime`​ (日時) のローカル時刻は ​`00:00:00`​ (深夜 0 時) です。

#### [](#ソース-10)ソース

```DataWeave
%dw 2.0
output application/json
---
{ "DateTime" : (|2017-10-01| ++ |-03:00|) }
```

#### [](#出力-10)出力

```JSON
{ "DateTime": "2017-10-01T00:00:00-03:00" }
```

## [](#plusplus9)++(timezone: TimeZone, date: Date): DateTime

`Date`​ (日付) を​`TimeZone`​ (時刻) に付加して ​`DateTime`​ (日時) を返します。

### [](#パラメーター-9)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>date</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Date</code>​ (日付)。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>timezone</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>TimeZone</code>​ (タイムゾーン) (​<code>Z</code>​ または ​<code>HH:mm</code>​)。</p></td>
</tr>
</tbody>
</table>

### [](#例-11)例

次の例では、​`TimeZone`​ (タイムゾーン) (​`-03:00`​) と ​`Date`​ (日付) を連結して、 ​`DateTime`​ (日時) を返します。​`DateTime`​ (日時) のローカル時刻は ​`00:00:00`​ (深夜 0 時) です。

#### [](#ソース-11)ソース

```DataWeave
%dw 2.0
output application/json
---
{ "DateTime" : |-03:00| ++ |2017-10-01| }
```

#### [](#出力-11)出力

```JSON
{ "DateTime": "2017-10-01T00:00:00-03:00" }
```

## [](#plusplus10)++(dateTime: LocalDateTime, timezone: TimeZone): DateTime

`TimeZone`​ (日付) を​`LocalDateTime`​ (時刻) に付加して ​`DateTime`​ (日時) を返します。

### [](#パラメーター-10)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>dateTime</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>LocalDateTime</code>​ (ローカル時刻)。タイムゾーンなしの日時。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>timezone</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>TimeZone</code>​ (タイムゾーン) (​<code>Z</code>​ または ​<code>HH:mm</code>​)。</p></td>
</tr>
</tbody>
</table>

### [](#例-12)例

次の例では、​`LocalDateTime`​ (日付) と ​`TimeZone`​ (タイムゾーン) (​`-03:00`​) を連結して、 ​`DateTime`​ (日時) を返します。

#### [](#ソース-12)ソース

```DataWeave
%dw 2.0
output application/json
---
{ "DateTime" : (|2003-10-01T23:57:59| ++ |-03:00|) }
```

#### [](#出力-12)出力

```JSON
{ "DateTime": "2003-10-01T23:57:59-03:00 }
```

## [](#plusplus11)++(timezone: TimeZone, datetime: LocalDateTime): DateTime

`LocalDateTime`​ (日付) を​`TimeZone`​ (時刻) に付加して ​`DateTime`​ (日時) を返します。

### [](#パラメーター-11)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>dateTime</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>LocalDateTime</code>​ (ローカル時刻)。タイムゾーンなしの日時。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>timezone</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>TimeZone</code>​ (タイムゾーン) (​<code>Z</code>​ または ​<code>HH:mm</code>​)。</p></td>
</tr>
</tbody>
</table>

### [](#例-13)例

次の例では、​`TimeZone`​ (タイムゾーン) (​`-03:00`​) と ​`LocalDateTime`​ (日付) を連結して、 ​`DateTime`​ (日時) を返します。

#### [](#ソース-13)ソース

```DataWeave
%dw 2.0
output application/json
---
{ "TimeZone" : (|-03:00| ++ |2003-10-01T23:57:59|) }
```

#### [](#出力-13)出力

```JSON
{ "TimeZone": "2003-10-01T23:57:59-03:00" }
```

## [](#plusplus12)++(time: LocalTime, timezone: TimeZone): Time

`TimeZone`​ (日付) を​`LocalTime`​ (時刻) に付加して ​`Time`​ (日時) を返します。

### [](#パラメーター-12)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>time</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>LocalTime</code>​ (ローカル時刻)。タイムゾーン付きの時刻形式。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>timezone</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>TimeZone</code>​ (タイムゾーン) (​<code>Z</code>​ または ​<code>HH:mm</code>​)。</p></td>
</tr>
</tbody>
</table>

### [](#例-14)例

次の例では、​`LocalTime`​ (日付) と ​`TimeZone`​ (タイムゾーン) (​`-03:00`​) を連結して、 ​`Time`​ (日時) を返します。出力では、未指定の秒には ​`:00`​ が返されています。

#### [](#ソース-14)ソース

```DataWeave
%dw 2.0
output application/json
---
{ "Time" : (|23:57| ++ |-03:00|) }
```

#### [](#出力-14)出力

```JSON
{ "Time": "23:57:00-03:00" }
```

## [](#plusplus13)++(timezone: TimeZone, time: LocalTime): Time

`LocalTime`​ (日付) を​`TimeZone`​ (時刻) に付加して ​`Time`​ (日時) を返します。

### [](#パラメーター-13)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>time</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>LocalTime</code>​ (ローカル時刻)。タイムゾーンなしの時刻形式。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>timezone</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>TimeZone</code>​ (タイムゾーン) (​<code>Z</code>​ または ​<code>HH:mm</code>​)。</p></td>
</tr>
</tbody>
</table>

### [](#例-15)例

次の例では、​`TimeZone`​ (タイムゾーン) (​`-03:00`​) と ​`LocalTime`​ (日付) を連結して、 ​`Time`​ (日時) を返します。出力では、未指定の秒には ​`:00`​ が返されています。

#### [](#ソース-15)ソース

```DataWeave
%dw 2.0
output application/json
---
{ "Time" : (|-03:00| ++ |23:57|) }
```

#### [](#出力-15)出力

```JSON
{
  "Time": "23:57:00-03:00"
}
```