style: apply dart format across project
This commit is contained in:
@@ -50,4 +50,4 @@ class CategoryIconMapper {
|
||||
return 16.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ class SmsDateFormatter {
|
||||
) {
|
||||
// 주기에 따라 다음 결제일 예측
|
||||
DateTime? predictedDate = _predictNextBillingDate(date, billingCycle, now);
|
||||
|
||||
|
||||
if (predictedDate != null) {
|
||||
final daysUntil = predictedDate.difference(now).inDays;
|
||||
return AppLocalizations.of(context).nextBillingDateEstimated(
|
||||
@@ -34,7 +34,7 @@ class SmsDateFormatter {
|
||||
daysUntil,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
return '다음 결제일 확인 필요 (과거 날짜)';
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ class SmsDateFormatter {
|
||||
// 다음 월간 결제일 계산
|
||||
static DateTime _getNextMonthlyDate(DateTime lastDate, DateTime now) {
|
||||
int day = lastDate.day;
|
||||
|
||||
|
||||
// 현재 월의 마지막 날을 초과하는 경우 조정
|
||||
final lastDay = DateTime(now.year, now.month + 1, 0).day;
|
||||
if (day > lastDay) {
|
||||
@@ -101,7 +101,7 @@ class SmsDateFormatter {
|
||||
// 다음 연간 결제일 계산
|
||||
static DateTime _getNextYearlyDate(DateTime lastDate, DateTime now) {
|
||||
int day = lastDate.day;
|
||||
|
||||
|
||||
// 해당 월의 마지막 날을 초과하는 경우 조정
|
||||
final lastDay = DateTime(now.year, lastDate.month + 1, 0).day;
|
||||
if (day > lastDay) {
|
||||
@@ -162,4 +162,4 @@ class SmsDateFormatter {
|
||||
static String getRepeatCountText(BuildContext context, int count) {
|
||||
return AppLocalizations.of(context).repeatCountDetected(count);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user