MCPcopy Create free account
hub / github.com/SeanDragon/protools / toSolar

Method toSolar

common/src/main/java/pro/tools/time/DatePlus.java:521–524  ·  view source on GitHub ↗

获取公历对象 @return 公历对象

()

Source from the content-addressed store, hash-verified

519 * @return 公历对象
520 */
521 public Solar toSolar() {
522 Lunar lunar = new Lunar(this.getYear(), this.getMonth(), this.getDayOfMonth());
523 return ToolLunar.lunartosolar(lunar);
524 }
525
526 private static final DateTimeFormatter DEFAULT_DATE_TIME_FORMATTER = ToolDatePlus.pattern("yyyy-MM-dd HH:mm:ss:SSS");
527

Callers

nothing calls this directly

Calls 4

getYearMethod · 0.95
getMonthMethod · 0.95
getDayOfMonthMethod · 0.95
lunartosolarMethod · 0.95

Tested by

no test coverage detected