|
|
@ -13,6 +13,7 @@ import java.util.* |
|
|
|
import java.util.regex.Pattern |
|
|
|
import java.util.regex.Pattern |
|
|
|
import javax.script.SimpleBindings |
|
|
|
import javax.script.SimpleBindings |
|
|
|
import kotlin.collections.HashMap |
|
|
|
import kotlin.collections.HashMap |
|
|
|
|
|
|
|
import java.text.SimpleDateFormat |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -629,6 +630,10 @@ class AnalyzeRule(var book: BaseBook? = null) { |
|
|
|
return MD5Utils.md5Encode16(str) |
|
|
|
return MD5Utils.md5Encode16(str) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fun timeFormat(timestamp: Long): String { |
|
|
|
|
|
|
|
return SimpleDateFormat.getDateTimeInstance(3,3).format(timestamp) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 章节数转数字 |
|
|
|
* 章节数转数字 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|