You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mstevan
test-set: prod/CastExpr.xml
test-cases: K-SeqExprCast-165 to 168,189 to 192, 208 to 211
@team
It seems that we have constructor only taking string as constructor. But according to test cases, it should be possible to also take dayTimeDuration as constructor argument for duration and vice versa. Same stands for yearMonthDuration
@mstevan
test-set: prod/CastExpr.xml
test-cases: K-SeqExprCast-165 to 168,189 to 192, 208 to 211
@team
It seems that we have constructor only taking string as constructor. But according to test cases, it should be possible to also take dayTimeDuration as constructor argument for duration and vice versa. Same stands for yearMonthDuration
Input:
string(duration(dayTimeDuration("P31DT3H2M10.001S"))) eq "P31DT3H2M10.001S"
string(dayTimeDuration(duration("P3Y0M31DT3H2M10.001S"))) eq "P31DT3H2M10.001S"
string(yearMonthDuration(duration("P3Y0M31DT3H2M10.001S"))) eq "P3Y
Output:
⚠️ ️There was an error.
Code: [XPTY0004] (this code can be looked up in the documentation and specifications).
Location information: file:/Users/mstevan/Documents/:LINE:1:COLUMN:16:
Invalid argument for function duration. dayTimeDuration cannot be promoted to type string?.
Expected output:
true
The text was updated successfully, but these errors were encountered: