
org.opentripplanner.transit.model.basic.LocalizedMoney Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
The newest version!
package org.opentripplanner.transit.model.basic;
import java.util.Locale;
import org.opentripplanner.framework.i18n.I18NString;
public record LocalizedMoney(Money money) implements I18NString {
@Override
public String toString(Locale locale) {
if (locale == null) {
return money.localize(Locale.ROOT);
}
return money.localize(locale);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy