Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TTCN-3 Libraries
LibIts
Commits
5c600839
Commit
5c600839
authored
Sep 27, 2016
by
garciay
Browse files
Add external function f_getMinuteOfTheYear()
Editorial changes
parent
b9a7e11c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ttcn/Common/LibItsCommon_Functions.ttcn
View file @
5c600839
...
...
@@ -112,6 +112,19 @@ module LibItsCommon_Functions {
return
v_timeMark
;
}
/**
* @desc Gets the Minute of current UTC year
* @return MinuteOfTheYear - tenths of a second in the current or next hour in units of 1/10th second from UTC time
*/
function
f_getMinuteOfTheYear
()
return
MinuteOfTheYear
{
var
MinuteOfTheYear
v_minuteOfTheYear
:=
0
;
// log("*** f_getMinuteOfTheYear: INFO: calling fx_getMinuteOfTheYear() ***");
v_minuteOfTheYear
:=
fx_getMinuteOfTheYear
();
return
v_minuteOfTheYear
;
}
}
// end generalFunctions
group
itsFunctions
{
...
...
@@ -185,11 +198,17 @@ module LibItsCommon_Functions {
external
function
fx_getCurrentTime
()
return
TimestampIts
;
/**
* @desc Gets the
current time since 01/01/2004
* @desc Gets the
tenths of a second in the current or next hour in units of 1/10th second from UTC time
* @return TimeMark - tenths of a second in the current or next hour in units of 1/10th second from UTC time
*/
external
function
fx_getCurrentTimeMark
()
return
UInt32
;
/**
* @desc Gets the minutes of current UTC year
* @return MinuteOfTheYear - minutes of current UTC year
*/
external
function
fx_getMinuteOfTheYear
()
return
UInt16
;
/**
* @desc External function to compute distance between two points
* @param p_latitudeA Latitude of first point
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment