lojix/power_model/src/main/com/thesett/aima/attribute/time/TimeUtils.java
public static ByteBuffer putTimeOnlyAsString(ByteBuffer buffer, long value)
    {
        buffer = putTimeOnlyAsString(buffer, value, true);

        return buffer;
    }
public static ByteBuffer putTimeOnlyAsString(ByteBuffer buffer, long value)
    {
        buffer = putTimeOnlyAsString(buffer, value, true);

        return buffer;
    }
Writes a time of day with milliseconds in the format HH:MM:SS[.sss], into a byte buffer. The specified buffer
will be enlarged if necessary using the specified byte buffer pool.

@param  buffer The initial buffer to write to.
@param  value  The time of day since midnight, in milliseconds.

@return The buffer written to.