Duration Nodes
Implement duration nodes in Blup for precise time interval calculations in your application.
Last updated
Implement duration nodes in Blup for precise time interval calculations in your application.
Last updated
This node returns a Duration that has the same length as the provided one but is always positive. If the duration is negative, this node converts it to a positive duration.
This node compares two durations and returns:
This node returns -
1. Zero if both durations are the same.
2. A negative integer if the first duration is shorter than the second.
3. A positive integer if the first duration is greater than the second.
Note - A negative Duration is always considered shorter than a positive one.
This node returns true if the duration provided is negative. If the duration is negative then this node returns true, if the duration is not negative then this node returns false.
This node helps you to convert the duration into the required format for example, hours into minutes.
If you have any ideas to make Blup better you can share them through our Discord community channel