code: public static GsonBuilder registerAll(GsonBuilder builder)
    {
      if (builder == null) { throw new NullPointerException("builder cannot be null"); }
  
      registerLocalDate(builder);
      registerLocalDateTime(builder);
      registerLocalTime(builder);
      registerOffsetDateTime(builder);
      registerOffsetTime(builder);
      registerZonedDateTime(builder);
      registerInstant(builder);
  
      return builder;
    }
docs: Registers all the Java Time converters.
  @param builder The GSON builder to register the converters with.
  @return A reference to {@code builder}.