Object DeviceIdGenerator

  • All Implemented Interfaces:

    
    public class DeviceIdGenerator
    
                        

    Device id is a unique identifier generated from current date, OS character and UUID.

    Note: Taken from ultimate monorepo: com.intellij.internal.statistic.DeviceIdManager

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static String generateId(Calendar calendar, Character OSChar) Device id is generating by concatenating following values:
      • Current date using given calendar, in format ddMMyy, where year coerced between 2000 and 2099

      • Character, representing user's OS (see getOSChar)

      • UUID

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • generateId

         final static String generateId(Calendar calendar, Character OSChar)

        Device id is generating by concatenating following values:

        • Current date using given calendar, in format ddMMyy, where year coerced between 2000 and 2099

        • Character, representing user's OS (see getOSChar)

        • UUID