Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package wvlet.ai.core.ulid
package wvlet.ai.core.util

/**
* Base 32 encoding by Douglas Crockford: https://www.crockford.com/base32.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package wvlet.ai.core.ulid
package wvlet.ai.core.util

object PrefixedULID:
val DELIMITER = ':'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package wvlet.ai.core.ulid
package wvlet.ai.core.util
Comment thread
xerial marked this conversation as resolved.

import wvlet.ai.core.util.{SecureRandom, ThreadUtil}

Expand Down Expand Up @@ -98,8 +98,8 @@ end ULID
object ULID:
val MinValue: ULID = ULID("00000000000000000000000000")
val MaxValue: ULID = ULID("7ZZZZZZZZZZZZZZZZZZZZZZZZZ")
private[ulid] val MinTime = 0L
private[ulid] val MaxTime = (~0L) >>> (64 - 48) // Timestamp uses 48-bit range
private[util] val MinTime = 0L
private[util] val MaxTime = (~0L) >>> (64 - 48) // Timestamp uses 48-bit range

private var _generator: ULIDGenerator = defaultULIDGenerator

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package wvlet.ai.core.ulid
package wvlet.ai.core.util

import wvlet.ai.core.ulid.CrockfordBase32
import wvlet.ai.core.util.CrockfordBase32
import wvlet.airspec.AirSpec
import wvlet.airspec.spi.PropertyCheck

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package wvlet.ai.core.ulid
package wvlet.ai.core.util

import wvlet.ai.core.ulid.{PrefixedULID, ULID}
import wvlet.ai.core.util.{PrefixedULID, ULID}
import wvlet.airspec.AirSpec
import wvlet.airspec.spi.PropertyCheck

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package wvlet.ai.core.ulid
package wvlet.ai.core.util

import wvlet.ai.core.ulid.{CrockfordBase32, ULID}
import wvlet.ai.core.util.{CrockfordBase32, ULID}
import wvlet.airspec.AirSpec
import wvlet.airspec.spi.PropertyCheck

Expand Down
Loading