Files
divkit/test_data/expression_test_data/function_signatures_interval.json
2023-02-01 13:00:45 +03:00

141 lines
3.4 KiB
JSON

{
"signatures": [
{
"name": "getIntervalSeconds(milliseconds: integer) integer",
"function_name": "getIntervalSeconds",
"doc": "Gets the seconds component of the duration. Expressed as a value between 0 and 59.",
"arguments": [
{
"type": "integer",
"doc": "Milliseconds count"
}
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
},
{
"name": "getIntervalTotalSeconds(milliseconds: integer) integer",
"function_name": "getIntervalTotalSeconds",
"doc": "Gets the number of seconds in duration.",
"arguments": [
{
"type": "integer",
"doc": "Milliseconds count"
}
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
},
{
"name": "getIntervalMinutes(milliseconds: integer) integer",
"function_name": "getIntervalMinutes",
"doc": "Gets the minutes component of the duration. Expressed as a value between 0 and 59.",
"arguments": [
{
"type": "integer",
"doc": "Milliseconds count"
}
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
},
{
"name": "getIntervalTotalMinutes(milliseconds: integer) integer",
"function_name": "getIntervalTotalMinutes",
"doc": "Gets the number of minutes in duration.",
"arguments": [
{
"type": "integer",
"doc": "Milliseconds count"
}
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
},
{
"name": "getIntervalHours(milliseconds: integer) integer",
"function_name": "getIntervalHours",
"doc": "Gets the hours component of the duration. Expressed as a value between 0 and 23.",
"arguments": [
{
"type": "integer",
"doc": "Milliseconds count"
}
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
},
{
"name": "getIntervalTotalHours(milliseconds: integer) integer",
"function_name": "getIntervalTotalHours",
"doc": "Gets the number of hours in duration.",
"arguments": [
{
"type": "integer",
"doc": "Milliseconds count"
}
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
},
{
"name": "getIntervalTotalDays(milliseconds: integer) integer",
"function_name": "getIntervalTotalDays",
"doc": "Gets the number of days in duration.",
"arguments": [
{
"type": "integer",
"doc": "Milliseconds count"
}
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
},
{
"name": "getIntervalTotalWeeks(milliseconds: integer) integer",
"function_name": "getIntervalTotalWeeks",
"doc": "Gets the number of weeks in duration.",
"arguments": [
{
"type": "integer",
"doc": "Milliseconds count"
}
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
}
]
}