added support for floating-point interval (even less than 1 second)