
Escudo del Capitan America
Java




(1)1.953 visualizaciones desde el 27 de Febrero del 2021
Escudo del Capitan America con la Clase Grapichs de Java







(1)

let array = [
{name: "compu", price: 1200, review: 8},
{name: "celulare", price: 300, review: 9},
{name: "tele", price: 800, review: 1},
{name: "play", price: 1200, review: 7}
];console.table(bubbleObject(array, "price", "review"));
┌───── ───┬──────────┬──────┬───────┐
│ (index) │ name │ price │ review │
├────────┼───────────┼──────┼───────┤
│ 0 │ 'celulare' │ 300 │ 9 ││ 1 │ 'tele' │ 800 │ 1 ││ 2 │ 'play' │ 1200 │ 7 ││ 3 │ 'compu' │ 1200 │ 8 │└─────────┴────────────┴───────┴────────┘

let array = [
{name: "compu", price: 1200, review: 8},
{name: "celulare", price: 300, review: 9},
{name: "tele", price: 800, review: 1},
{name: "play", price: 1200, review: 7}
];console.table(bubbleObject(array, "price"));
┌─────────┬────────────┬───────┬────────┐
│ (index) │ name │ price │ review │
├─────────┼────────────┼───────┼────────┤
│ 0 │ 'celulare' │ 300 │ 9 ││ 1 │ 'tele' │ 800 │ 1 ││ 2 │ 'compu' │ 1200 │ 8 ││ 3 │ 'play' │ 1200 │ 7 │└─────────┴────────────┴───────┴────────┘
console.table(bubbleObject(array, "review"));
┌─────────┬────────────┬───────┬────────┐
│ (index) │ name │ price │ review │
├─────────┼────────────┼───────┼────────┤
│ 0 │ 'tele' │ 800 │ 1 ││ 1 │ 'play' │ 1200 │ 7 ││ 2 │ 'compu' │ 1200 │ 8 ││ 3 │ 'celulare' │ 300 │ 9 │└─────────┴────────────┴───────┴────────┘

getOffsetTimezone("UTC"); // 0
getOffsetTimezone("America/New_York"); // -18000
getOffsetTimezone("Europe/Madrid"); // 3600
getOffsetTimezone("noExiste");

getDateNowForTimezone("UTC"); // object Date "Thu Feb 25 2021 18:45:33 GMT+0100 (Central European Standard Time)"
getDateNowForTimezone("Europe/Madrid"); // object Date "Thu Feb 25 2021 19:45:33 GMT+0100 (Central European Standard Time)"
getDateNowForTimezone("America/New_York"); // object Date "Thu Feb 25 2021 13:45:33 GMT+0100 (Central European Standard Time)
getDateNowForTimezone("noExiste"); // false

getDateForTimezone("UTC", 2021, 2, 1, 10); // object Date "Mon Feb 01 2021 09:00:00 GMT+0100 (Central European Standard Time)"
getDateForTimezone("UTC", 2021, 8, 1, 10); // object Date "Sun Aug 01 2021 08:00:00 GMT+0200 (Central European Summer Time)"
getDateForTimezone("Europe/Madrid", 2021, 2, 1, 10); // object Date "Mon Feb 01 2021 10:00:00 GMT+0100 (Central European Standard Time)"
getDateForTimezone("Europe/Madrid", 2021, 8, 1, 10); // object Date "Sun Aug 01 2021 10:00:00 GMT+0200 (Central European Summer Time)"
getDateForTimezone("America/New_York", 2021, 2, 1, 10); // object Date "Mon Feb 01 2021 04:00:00 GMT+0100 (Central European Standard Time)"
getDateForTimezone("America/New_York", 2021, 8, 1, 10); // object Date "Sun Aug 01 2021 04:00:00 GMT+0200 (Central European Summer Time)"
getDateForTimezone("noExiste", 2021, 2, 1, 10); // false
getDateForTimezone("America/New_York"); // false
getDateForTimezone(); // false

getOffsetDateTimezone("Europe/Madrid", 2021, 2, 1, 10); // 3600
getOffsetDateTimezone("Europe/Madrid", 2021, 8, 1, 10); // 7200
getOffsetDateTimezone("America/New_York", 2021, 2, 1, 10); // -18000
getOffsetDateTimezone("America/New_York", 2021, 8, 1, 10); // -14400
getOffsetDateTimezone("noExiste", 2021, 2, 1, 10); // false
getOffsetDateTimezone("America/New_York"); // false

getMyTimezone(); // Europe/Madrid

mayorRecursivo([5,3,8,6,1,4]) # 8
mayorRecursivo([5,3,8,6,9,1]) # 9
mayorRecursivo([1,5,3,7,6,4]) # 7





(4)