/**
 * MemberDisplay
 * 
 * Deterministic display logic for members.
 */

export class MemberDisplay {
  /**
   * Formats a member count with pluralization.
   * Example: 1 -> "1 member", 2 -> "2 members"
   */
  static formatCount(count: number): string {
    return `${count} ${count === 1 ? 'member' : 'members'}`;
  }

  /**
   * Formats a member count as "Units" (used in some contexts).
   */
  static formatUnits(count: number): string {
    return `${count} ${count === 1 ? 'Unit' : 'Units'}`;
  }
}
