getChineseZodiac

open fun getChineseZodiac(time: String): String

Return the Chinese zodiac.

The pattern is {@code yyyy-MM-dd HH:mm:ss}.

Return

the Chinese zodiac

Parameters

time

The formatted time string.

open fun getChineseZodiac(time: String, format: DateFormat): String

Return the Chinese zodiac.

Return

the Chinese zodiac

Parameters

time

The formatted time string.

format

The format.

open fun getChineseZodiac(date: Date): String

Return the Chinese zodiac.

Return

the Chinese zodiac

Parameters

date

The date.

open fun getChineseZodiac(millis: Long): String

Return the Chinese zodiac.

Return

the Chinese zodiac

Parameters

millis

The milliseconds.

open fun getChineseZodiac(year: Int): String

Return the Chinese zodiac.

Return

the Chinese zodiac

Parameters

year

The year.