Skip to content
Snippets Groups Projects
Commit 86c02c79 authored by Jan Frederik Engels's avatar Jan Frederik Engels :new_moon:
Browse files

More hl fixes from deeply integrated testing.

parent 3ce40693
No related branches found
No related tags found
No related merge requests found
File moved
......@@ -337,6 +337,7 @@ MODULE mtime_hl
PROCEDURE :: getName => t_event_getName
PROCEDURE :: nextEvent => t_event_next_event
PROCEDURE :: isActive => t_event_is_active
END TYPE t_event
......
......@@ -108,6 +108,19 @@
res = this%triggeredPreviousEventDateTime
END FUNCTION t_event_getPrevOccurrenceDatetime
FUNCTION t_event_is_active(this, my_datetime, plus_slack, minus_slack) result(ret)
CLASS(t_event) :: this
TYPE(t_datetime) :: my_datetime
TYPE(t_timedelta), OPTIONAL :: plus_slack
TYPE(t_timedelta), OPTIONAL :: minus_slack
logical(c_bool) :: ret
!FIXME
ret = isCurrentEventActive(this, my_datetime%dt, plus_slack%td, minus_slack%td)
END FUNCTION t_event_is_active
! ================================================================================
! event group section:
! ================================================================================
......
......@@ -13,7 +13,7 @@
TYPE(juliandelta), pointer :: jd_tmp
c_pointer = my_newjuliandelta(sign, day, ms)
print *,sign, c_pointer
!print *,sign, c_pointer
if (.not. c_associated(c_pointer)) then
call handle_errno(1 * 100 + 1, __FILE__, __LINE__)
t_juliandelta_assign_raw%jd%sign = 'L'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment