Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: pkg/intl/lib/src/date_format_field.dart

Issue 143453011: pkg/intl: dartfmt (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/intl/lib/number_symbols.dart ('k') | pkg/intl/lib/src/temporary_debugging.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/src/date_format_field.dart
diff --git a/pkg/intl/lib/src/date_format_field.dart b/pkg/intl/lib/src/date_format_field.dart
index 14990e69ee7343192f30264a4e3ef1a198cde1b7..bf8f8100f8e04f9f15ade4cf4a045832d1d091d0 100644
--- a/pkg/intl/lib/src/date_format_field.dart
+++ b/pkg/intl/lib/src/date_format_field.dart
@@ -88,7 +88,7 @@ class _DateFormatQuotedField extends _DateFormatField {
}
void patchQuotes() {
- if (pattern == "''") {
+ if (pattern == "''") {
pattern = "'";
} else {
pattern = pattern.substring(1, pattern.length - 1);
@@ -109,7 +109,7 @@ class _DateFormatPatternField extends _DateFormatField {
/** Format date according to our specification and return the result. */
String format(DateTime date) {
- return formatField(date);
+ return formatField(date);
}
/**
@@ -418,7 +418,7 @@ class _DateFormatPatternField extends _DateFormatField {
throw new UnimplementedError();
}
- /**
+ /**
* Return a string representation of the object padded to the left with
* zeros. Primarily useful for numbers.
*/
@@ -428,7 +428,7 @@ class _DateFormatPatternField extends _DateFormatField {
var buffer = new StringBuffer();
for (var i = 0; i < width - basicString.length; i++) {
buffer.write('0');
- }
+ }
buffer.write(basicString);
return buffer.toString();
}
« no previous file with comments | « pkg/intl/lib/number_symbols.dart ('k') | pkg/intl/lib/src/temporary_debugging.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698