lucasnoetzold / script

Script shall be a frankenstein made of external brain, task management, calendar, project management and note taking features.
GNU General Public License v3.0
0 stars 0 forks source link

feat: implement custom IDs #8

Open lucasnoetzold opened 5 months ago

lucasnoetzold commented 5 months ago

implement custom IDs as described in #7

ACs:

  1. default empty constructor to create a new one a. first 6 characters as base36 count of seconds since 2024-01-01T00:00:00Z b. last 2 characters as base36 random entropy
  2. new(long) constructor
  3. new(String) constructor
  4. new(byte[]) ? (not sure about this one)
  5. immutable
  6. java.time.Instant getInstant() method
  7. Serialiazble
  8. implements CharSequence
  9. implements Comparable<itself>