Record Class ReportContext
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.ReportContext
- Record Components:
locale- 語系,用於數字、日期格式與文件語言clock- 時鐘
-
Constructor Summary
ConstructorsConstructorDescriptionReportContext(Locale locale, Clock clock) Creates an instance of aReportContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclock()Returns the value of theclockrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.locale()Returns the value of thelocalerecord component.static ReportContext建立環境final StringtoString()Returns a string representation of this record class.zone()
-
Constructor Details
-
ReportContext
-
-
Method Details
-
of
建立環境- Parameters:
locale- 語系clock- 時鐘- Returns:
- 環境
-
zone
- Returns:
- 業務時區
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
locale
-
clock
-