IsDateValid question ?

I have try to use IsDateValid in java but it will throw exception when use IsDateValid with TA_HAS_NOT_EXPIRED flags but it's work when use TA_SYSTEM ??by the way I got same exception when use "TA_USER"

here is exception("The flags you passed to the function were invalid (or missing). Flags like "TA_SYSTEM" and "TA_USER" are mutually exclusive -- you can only use one or the other.")

Is some thing wrong in my environment ? or only can use TA_SYSTEM to be flags ?

IsDateValid can only be used with the TA_HAS_NOT_EXPIRED flag. We'll add other flags in the future.

base on v3.2.1I have use java to call TurboActivate.IsDateValid with TA_HAS_NOT_EXPIRED flag but only exception I got.Is it a bug ? or just some thing wrong on develop.

What exception did you get? And what did you pass in (the date)?

Sorry, there's a typo in TurboActivate.java. On line 21 in that file it should read:

public static int TA_HAS_NOT_EXPIRED = 1;

That is, it should be "1" not "2". We'll fix that in the up-coming version. But you can change it manually right now.

I got it

thanks