Announcement

Collapse

Informatii si clarificari privind datele personale

Datele cu caracter personal pe care siteul ForumToyota.ro le colecteaza pe Forum sunt descrise mai jos, impreuna cu scopul, modul si temeiul prelucrarii lor precum si durata pe care are loc stocarea si/sau prelucrarea. Aceste date nu sunt prelucrate in alte moduri decat cele mentionate, nu sunt folosite in scopuri de marketing, nu sunt comercializate si nu sunt transferate unor terti.

__________________________________________________ ________________________________


I. "Date necesare" - colectate la inregistrarea unui cont de membru:
Adresa de email, necesara pentru:
validarea contului
resetarea parolei, in cazul in care a fost uitata
transmitere notificari privind anumite evenimente intamplate pe Forum (optional, opt-in) - ex: reply intr-un topic urmarit, reply la un mesaj personal (PM)
comunicari ocazionale in scop informativ (non-marketing, non-comercial) din partea administratiei Forumului (optional, opt-in)
NU este afisata public pe Forum, iar ceilalti membri nu au acces la ea, nici macar cei din echipa de moderare (moderatori, supermoderatori)
Username, necesar pentru autentificare (login)
Este afisat public pe Forum, in dreptul postarilor/mesajelor scrise de membrul respectiv, pentru a putea facilita o discutie cursiva
Parola, necesara pentru autentificare (login)
NU este afisata nicaieri
NU este stocata intr-o forma citibila (plain text), ci numai in forma criptata
Motiv: fara aceste date nu este posibila crearea unui cont de membru, iar fara cont nu se poate participa la discutii.
Temei: interesul legitim.
Durata: pe toata durata existentei contului de membru
__________________________________________________ ________________________________


II. "Date optionale" - pe care membrii Forumului Forumtoyota au posibilitatea sa le introduca in contul propriu daca doresc:
Location - eliminat de tot, pentru ca in ciuda explicatiilor au aparut confuzii privind semnificatia si rolul acestui camp
Data nasterii
Hobby-uri (interests)
Model/marca si motorizarea masinii

Temei: consimtamantul (consent).
Durata: atat cat doreste persoana, datele pot fi introduse/modificate/sterse in orice moment direct din cont

Introducerea acestor date este pur optionala, iar accesul integral la toate serviciile oferite de Forumul Forumtoyota nu este conditionat in niciun fel de introducerea acestor date. Aceste date sunt prelucrate exclusiv pentru afisarea lor in pagina personala a contului (profil public - exemplu) care poate fi accesata de oricare alt membru inregistrat pe Forumul ForumToyota(dar nu si de vizitatorii neautentificati-guest sau de crawlerii web precum Googlebot). Deasemenea, denumirile campurilor in care pot fi introduse aceste informatii sunt orientative, membrii nu au vreo obligatie sa le completeze cu acuratete.

Recomandam sa completati informatiile optionale numai daca doriti ca ceilalti membri ai Forumului sa le cunoasca. Pentru a ne asigura de acest fapt, toate datele optionale introduse pana la 18.05.2018 au fost sterse. Ele pot fi reintroduse daca membrii doresc acest lucru, luand in considerare cele mentionate mai sus.
__________________________________________________ _____________________________


III. "Date colectate automat" - pentru fiecare accesare a Forumului, indiferent daca e vorba de un vizitator autentificat (membru) sau neautentificat (guest):
Adresa IP
User-Agent: sir de caractere prin care aplicatia de web browsing se "recomanda" catre server (ex: Chrome)
HTTP Referer: pagina vizitata anterior celei curente
Aceste date NU sunt afisate in mod public pe Forum, membrii nu au acces la ele, nici macar cei din echipa de moderare (moderatori, supermoderatori).

Motiv: aceste date sunt colectate si procesate pentru indeplinirea unor obligatii legale (ex: cooperarea in investigatii ale autoritatilor, conform legii) sau pentru implementarea unor strategii de aparare impotriva unor atacuri informatice (ex: hacking, (D)DOS, crawling neautorizat)
Temei: obligatia legala, interesul legitim
Durata: 30 de zile in jurnalele de acces ale serverelor care gazduiesc Forumul ForumToyota(webserver logs). Adresele IP sunt stocate si in baza de date a Forumului, pentru fiecare mesaj scris (permanent) si pentru sesiunile de autentificare (pana la expirarea lor sau invalidare prin log out).
See more
See less

how to find day from date and year

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to find day from date and year

    Hello, visitor!


    Stack Overflow How to get all possible years from the given day, day of the week, and month? I want to get the set of years which pertain to a specific date, week of the day and month . There are possibilities How to get all possible years from the given day, day of the week, and month?


    ENTER TO THE SITE


    I want to get the set of years which pertain to a specific date, week of the day and month . There are possibilities that I can get various years from this pattern. Suppose Date is 15, Month is August and Week of the day is Tuesday then, How would I find the years that are valid? Is there a formula for this? FYI… Brute-force it in one line of Java code, as seen here: LocalDate.of( 2000 , Month.JANUARY , 1 ).datesUntil( Year.now( ).plusYears( 1 ).atDay( 1 ) ).filter( localDate -> localDate.getMonth( ).equals( Month.AUGUST ) ).filter( localDate -> localDate.getDayOfMonth( ) == 15 ).filter( localDate -> localDate.getDayOfWeek( ).equals( DayOfWeek.TUESDAY ) ).map( Year :: from ).forEach( System.out :: println ), yields 2000 2006 2017 2023. 5 Answers 5. Would this fully solve your problem? The idea behind this: Start from the specific date (August 15th) from year 0 if the date is on the specified weekday --> add it to your list add 1 year back to square 1. (till your specified MAX_DATE is reached) Edit: if your date is February 29th you should add following code (Because if you add 1 year to 0000-02-29 it will give you 0001-02-28, and from there on you will stay at the 28th) Heres a version with streams: Here is a simple formula you can do even in your head.You can find more info here: How to determine the day of the week, given the month, day and year. Take the last two digits of the year. Divide by 4, discarding any fraction. Add the day of the month. Add the month's key value: JFM AMJ JAS OND 144 025 036 146 Subtract 1 for January or February of a leap year. For a Gregorian date, add 0 for 1900's, 6 for 2000's, 4 for 1700's, 2 for 1800's, for other years, add or subtract multiples of 400. For a Julian date, add 1 for 1700's, and 1 for every additional century you go back. Add the last two digits of the year. Divide by 7 and take the remainder. Downvoted because it finds the weekday for a year, month, and monthday. The OP wants to find the year for a month, monthday, and weekday. This question relates to the classical Dommsday algo. A simple method to calculate is Kraitchik's method. Kraitchik method - w = d + m + c + y mod 7, where w is the day of the week (counting upwards from 1 on Sunday instead of 0 in Gauss's version), and d, m, c and y are numbers depending on the day, month, and year as in the following tables: For the Gregorian calendar, take the century of the year (ex, the year 1986 would be 1900, 2014 would be 2000). [Century/100] mod 4: 0 1 2 3 c: 0 5 3 1. For the Julian calendar, [Century/100] mod 7: 0 1 2 3 4 5 6 c: 5 4 3 2 1 0 6. Finally, the year number is obtained from this table (with 1 being subtracted from dates in January or February): Last two digits of the year y 00 06 17 23 28 34 45 51 56 62 73 79 84 90 0 01 07 12 18 29 35 40 46 57 63 68 74 85 91 96 1 02 13 19 24 30 41 47 52 58 69 75 80 86 97 2 03 08 14 25 31 36 42 53 59 64 70 81 87 92 98 3 09 15 20 26 37 43 48 54 65 71 76 82 93 99 4 04 10 21 27 32 38 49 55 60 66 77 83 88 94 5 05 11 16 22 33 39 44 50 61 67 72 78 89 95 6.


    How to get month from date in sql server


    How to find day from date and year


Working...
X
Logan | Dacia Logan |Anulare DPF
Politica de Securitate Google