@everyonesoftware/common 12.0.0 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -811,7 +811,16 @@ declare abstract class DateTime {
811
811
  get debug(): string;
812
812
  static debug(dateTime: DateTime): string;
813
813
  abstract toString(): string;
814
+ /**
815
+ * Get the string representation of this {@link DateTime}'s date in the format "yyyy-mm-dd", such
816
+ * as "2020-05-13".
817
+ */
814
818
  abstract toDateString(): string;
819
+ /**
820
+ * Get the string representation of this {@link DateTime}'s date in the format "MMM d", such as
821
+ * "Mar 3".
822
+ */
823
+ abstract toShortDateString(): string;
815
824
  }
816
825
 
817
826
  /**
@@ -811,7 +811,16 @@ declare abstract class DateTime {
811
811
  get debug(): string;
812
812
  static debug(dateTime: DateTime): string;
813
813
  abstract toString(): string;
814
+ /**
815
+ * Get the string representation of this {@link DateTime}'s date in the format "yyyy-mm-dd", such
816
+ * as "2020-05-13".
817
+ */
814
818
  abstract toDateString(): string;
819
+ /**
820
+ * Get the string representation of this {@link DateTime}'s date in the format "MMM d", such as
821
+ * "Mar 3".
822
+ */
823
+ abstract toShortDateString(): string;
815
824
  }
816
825
 
817
826
  /**
@@ -22,7 +22,7 @@ import {
22
22
  isString,
23
23
  isUndefinedOrNull,
24
24
  join
25
- } from "./chunk-MHMLVX2O.js";
25
+ } from "./chunk-TUBXFCG4.js";
26
26
 
27
27
  // tests/test.ts
28
28
  var Test = class _Test {
@@ -1196,4 +1196,4 @@ export {
1196
1196
  BasicTestError,
1197
1197
  ConsoleTestRunner
1198
1198
  };
1199
- //# sourceMappingURL=chunk-FZ3WRQ7B.js.map
1199
+ //# sourceMappingURL=chunk-P4KLLRFY.js.map
@@ -4324,6 +4324,9 @@ var LuxonDateTime = class _LuxonDateTime {
4324
4324
  toDateString() {
4325
4325
  return this.dateTime.toISODate();
4326
4326
  }
4327
+ toShortDateString() {
4328
+ return `${this.dateTime.monthShort} ${this.dateTime.day}`;
4329
+ }
4327
4330
  compareTo(dateTime, compareTimes) {
4328
4331
  return DateTime2.compareTo(this, dateTime, compareTimes);
4329
4332
  }
@@ -9587,4 +9590,4 @@ export {
9587
9590
  WonderlandTrailItinerary,
9588
9591
  WonderlandTrailClient
9589
9592
  };
9590
- //# sourceMappingURL=chunk-MHMLVX2O.js.map
9593
+ //# sourceMappingURL=chunk-TUBXFCG4.js.map