All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.util.time.JapaneseEraYearMonth.gs Maven / Gradle / Ivy

The newest version!
package gw.util.time
uses java.time.Month
uses java.time.chrono.JapaneseDate

class JapaneseEraYearMonth {
  final var _month  : Month as Month
  final var _eraYear: JapaneseEraYear as EraYear
  
  construct( eraYear: JapaneseEraYear, month: Month ) {
    _eraYear = eraYear
    _month = month
  }
  
  function prefixBind( day: Integer ) : JapaneseDate {
    return JapaneseDate.of( EraYear.Era, EraYear.Year.Value, Month.Value, day )
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy