+
    ¾¾j<  ã                   óf   € R t ^ RIHtHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
Ht  ! R R]4      tR.tR# )	zINT values from :rfc:`5545`.)ÚAnyÚClassVar)ÚSelf)ÚJCalParsingError)Ú
Parameters©Ú	ICAL_TYPEc                   ó"  a a€ ] tR t^t oRtRtRt Rt RR/V3R lV 3R llltV3R lR	 lt	]
V3R
 lR l4       t]V3R lR l4       t]V3R lR l4       t^ RIHt V3R lR lt]V3R lR l4       t]V3R lR l4       tV3R ltRtVtV ;t# )ÚvInta  Integer

Value Name:
    INTEGER

Purpose:
    This value type is used to identify properties that contain a
    signed integer value.

Format Definition:
    This value type is defined by the following notation:

    .. code-block:: text

        integer    = (["+"] / "-") 1*DIGIT

Description:
    If the property permits, multiple "integer" values are
    specified by a COMMA-separated list of values.  The valid range
    for "integer" is -2147483648 to 2147483647.  If the sign is not
    specified, then the value is assumed to be positive.

The ``__new__`` method creates a vInt instance:

Parameters:
    value: Integer value to encode. Must be within :attr:`min` to :attr:`max`.
    params: Optional parameter dictionary for the property.

Returns:
    vInt instance

Raises:
    ValueError: If the value is outside the RFC 5545 signed 32-bit integer range
        as defined in :attr:`min` and :attr:`max`.

Examples:

    .. code-block:: text

        1234567890
        -1234567890
        +1234567890
        432109876

    .. code-block:: pycon

        >>> from icalendar.prop import vInt
        >>> integer = vInt.from_ical('1234567890')
        >>> integer
        1234567890
        >>> integer = vInt.from_ical('-1234567890')
        >>> integer
        -1234567890
        >>> integer = vInt.from_ical('+1234567890')
        >>> integer
        1234567890
        >>> integer = vInt.from_ical('432109876')
        >>> integer
        432109876

    Create a PRIORITY property (1 = highest priority):

    .. code-block:: pycon

        >>> priority = vInt(1)
        >>> priority
        1
        >>> priority.to_ical()
        b'1'

    Create SEQUENCE property (for versioning):

    .. code-block:: pycon

        >>> sequence = vInt(3)
        >>> sequence.to_ical()
        b'3'
ÚINTEGERiÿÿÿÚparamsNc                óD   <€ V ^8„  d   QhRS[ S[S[3,          R,          /# )é   r   N)ÚdictÚstrr   )ÚformatÚ__classdict__s   "€ÚU/home/ralf/ical-fahrzeuge/venv/lib/python3.14/site-packages/icalendar/prop/integer.pyÚ__annotate__ÚvInt.__annotate__c   s!   ø€ ÷ ñ ¡D©©c¨¥N°TÕ$9ñ ó    c          	     óì   <€ \         SV `  ! V .VO5/ VB p\        V4      Vn        V P                  Tu;8:  d   V P
                  8:  g,   M \        R V RV P                   RV P
                   R24      hV# )zInteger z  is outside the RFC 5545 range [z, Ú])ÚsuperÚ__new__r   r   ÚminÚmaxÚ
ValueError)Úclsr   ÚargsÚkwargsÚselfÚ	__class__s   &$*, €r   r   ÚvInt.__new__c   sr   ø€ Ü‰wŠ˜sÐ4 TÒ4¨VÑ4ˆÜ  Ó(ˆŒØ—‘˜4Ö* 3§7¡7Ö*ÜØ˜4˜&Ð @ÀÇÁÀ	ÈÈCÏGÉGÈ9ÐTUÐVóð ð ˆr   c                ó    <€ V ^8„  d   QhRS[ /# ©r   Úreturn)Úbytes)r   r   s   "€r   r   r   l   s   ø€ ÷ )ñ )™ñ )r   c                ó6   € \        V 4      P                  R 4      # )zutf-8)r   Úencode©r!   s   &r   Úto_icalÚvInt.to_icall   s   € Ü�4‹y×Ñ Ó(Ð(r   c                ó    <€ V ^8„  d   QhRS[ /# r%   ©Úint)r   r   s   "€r   r   r   p   s   ø€ ÷ ñ ™Cñ r   c                ó   € \        V 4      # )z<INTEGER property type according to :rfc:`5545#section-3.3.8`r.   r*   s   &r   Ú
ical_valueÚvInt.ical_valueo   s   € ô �4‹yÐr   c                ó    <€ V ^8„  d   QhRS[ /# )r   Úicalr   )r   r   s   "€r   r   r   u   s   ø€ ÷ ñ ™Yñ r   c                ón   €  \        V4      pT ! T4      #   \         d   p\        R T 24      ThRp?ii ; i)zExpected int, got: N)r/   Ú	Exceptionr   )r   r4   ÚvalueÚes   &&  r   Ú	from_icalÚvInt.from_icalt   sF   € ð	BÜ˜“IˆEñ �5‹zÐøô ô 	BÜÐ2°4°&Ð9Ó:ÀÐAûð	Bús   ‚ •4 /¯4c                ó0   <€ V ^8„  d   QhRS[ S[,          /# r%   ©Úlistr   )r   r   s   "€r   r   r   }   s   ø€ ÷ 'ñ '™™d�ñ 'r   c                ó.   € \        R4      \        R4      .# )zExamples of vInt.iè  iÖÿÿÿ)r
   )r   s   &r   ÚexamplesÚvInt.examples|   s   € ô �T“
œD ›IÐ&Ð&r   )ÚVALUEc                ó&   <€ V ^8„  d   QhRS[ RS[/# )r   Únamer&   )r   r=   )r   r   s   "€r   r   r   ƒ   s   ø€ ÷ Lñ L™Cð L¡Dñ Lr   c                ó~   € WP                   P                  4       V P                  P                  4       \	        V 4      .# )zBThe jCal representation of this property according to :rfc:`7265`.)r   Úto_jcalrA   Úlowerr/   )r!   rC   s   &&r   rE   ÚvInt.to_jcalƒ   s-   € à—k‘k×)Ñ)Ó+¨T¯Z©Z×-=Ñ-=Ó-?ÄÀTÃÐKÐKr   c                ó&   <€ V ^8„  d   QhRS[ RS[/# )r   Újcal_propertyr&   r<   )r   r   s   "€r   r   r   ˆ   s   ø€ ÷ 
ñ 
¡dð 
©tñ 
r   c                óÀ   € \         P                  ! W4       \         P                  ! V^,          \        V ^4       V ! V^,          \        P
                  ! V4      R7      # )z Parse jCal from :rfc:`7265`.

Parameters:
    jcal_property: The jCal property to parse.

Raises:
    ~error.JCalParsingError: If the provided jCal is invalid.
©r   )r   Úvalidate_propertyÚvalidate_value_typer/   r   Úfrom_jcal_property)r   rI   s   &&r   Ú	from_jcalÚvInt.from_jcal‡   sN   € ô 	×*Ò*¨=Ô>Ü×,Ò,¨]¸1Õ-=¼sÀCÈÔKÙØ˜!ÕÜ×0Ò0°Ó?ô
ð 	
r   c                ó&   <€ V ^8„  d   QhRS[ RS[/# )r   r7   r&   )r   r/   )r   r   s   "€r   r   r   ™   s   ø€ ÷ ñ ¡Sð ©Sñ r   c                óJ   € \         P                  ! V\        V 4       V ! V4      # )z_Parse a jCal value for vInt.

Raises:
    ~error.JCalParsingError: If the value is not an int.
)r   rM   r/   )r   r7   s   &&r   Úparse_jcal_valueÚvInt.parse_jcal_value˜   s    € ô 	×,Ò,¨U´C¸Ô=Ù�5‹zÐr   c                óz   <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[;R&   S[ S[,          ;R&   S[ S[,          ;R&   # )r   Údefault_valuer   r   r   )r   r   r   r/   )r   r   s   "€r   r   r      sM   ø‡ ‚ ñ` ™C•=Ñ,ña ñb Ññc ñf 
‘#�Ñ'ñg ñj 
‘#�Ñ&òk r   rK   i   €)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__rV   r   r   r   r+   Úpropertyr1   Úclassmethodr9   r?   Úicalendar.paramrA   rE   rO   rS   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r"   r   s   @@r   r
   r
      s½   ù‡ € ñMð^ $-€Mð (€CØWØ&€CØVð¸D÷ õ ÷)ð )ð ÷ó ðð ÷ó ðð ÷'ó ð'õ &÷Lð Lð ÷
ó ð
ð  ÷ó ð÷] … r   r
   N)r[   Útypingr   r   Úicalendar.compatibilityr   Úicalendar.errorr   Úicalendar.parserr   Úicalendar.parser_toolsr   r/   r
   Ú__all__© r   r   Ú<module>rj      s/   ðÙ "ç  å (Ý ,Ý 'Ý ,ôUˆ3ô Uðp ˆ(‚r   